diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2009-09-22 10:03:17 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2009-09-22 10:03:17 +0000 |
commit | 90e11876019b063000843c424052d96524caa5a9 (patch) | |
tree | 0d707a54e38f2c64bb671fe6b516198361e206af /phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php | |
parent | 5d52b32a63a437d974e804d77ead895bfcfca4ad (diff) | |
download | forums-90e11876019b063000843c424052d96524caa5a9.tar forums-90e11876019b063000843c424052d96524caa5a9.tar.gz forums-90e11876019b063000843c424052d96524caa5a9.tar.bz2 forums-90e11876019b063000843c424052d96524caa5a9.tar.xz forums-90e11876019b063000843c424052d96524caa5a9.zip |
Move add_log() call for captcha "configure" page to the captcha plugin, because only the plugin is able to know if the config got updated or not.
Note to captcha MOD authors: please check if you have a function acp_page() and if an add_log() call is required for your plugin.
Bug #51695
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10177 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php')
-rw-r--r-- | phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php b/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php index 2d37b13a4f..d4543dddfc 100644 --- a/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php +++ b/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php @@ -100,6 +100,8 @@ class phpbb_recaptcha extends phpbb_default_captcha set_config($captcha_var, $value); } } + + add_log('admin', 'LOG_CONFIG_VISUAL'); trigger_error($user->lang['CONFIG_UPDATED'] . adm_back_link($module->u_action)); } else if ($submit) |