aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_captcha.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2009-09-22 10:03:17 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2009-09-22 10:03:17 +0000
commit90e11876019b063000843c424052d96524caa5a9 (patch)
tree0d707a54e38f2c64bb671fe6b516198361e206af /phpBB/includes/acp/acp_captcha.php
parent5d52b32a63a437d974e804d77ead895bfcfca4ad (diff)
downloadforums-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/acp/acp_captcha.php')
-rw-r--r--phpBB/includes/acp/acp_captcha.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_captcha.php b/phpBB/includes/acp/acp_captcha.php
index 29f986f8f4..e1fa764191 100644
--- a/phpBB/includes/acp/acp_captcha.php
+++ b/phpBB/includes/acp/acp_captcha.php
@@ -31,7 +31,7 @@ class acp_captcha
include($phpbb_root_path . 'includes/captcha/captcha_factory.' . $phpEx);
$captchas = phpbb_captcha_factory::get_captcha_types();
-
+
$selected = request_var('select_captcha', $config['captcha_plugin']);
$selected = (isset($captchas['available'][$selected]) || isset($captchas['unavailable'][$selected])) ? $selected : $config['captcha_plugin'];
$configure = request_var('configure', false);
@@ -48,7 +48,6 @@ class acp_captcha
{
$config_captcha =& phpbb_captcha_factory::get_instance($selected);
$config_captcha->acp_page($id, $this);
- add_log('admin', 'LOG_CONFIG_VISUAL');
}
else
{