aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/captcha
diff options
context:
space:
mode:
authorGaëtan Muller <m.gaetan89@gmail.com>2015-01-11 17:32:31 +0100
committerGaëtan Muller <m.gaetan89@gmail.com>2015-02-02 19:28:23 +0100
commit79d4ff553844fa80be4da9286239f62a45489072 (patch)
tree3a83dabddd37c465de62e60bd2bcecf3c8a29474 /phpBB/phpbb/captcha
parent6e2838a4cabc6e7874ff1a72af2d3eb4f5361428 (diff)
downloadforums-79d4ff553844fa80be4da9286239f62a45489072.tar
forums-79d4ff553844fa80be4da9286239f62a45489072.tar.gz
forums-79d4ff553844fa80be4da9286239f62a45489072.tar.bz2
forums-79d4ff553844fa80be4da9286239f62a45489072.tar.xz
forums-79d4ff553844fa80be4da9286239f62a45489072.zip
[ticket/13494] Update calls to `set_config()`
PHPBB3-13494
Diffstat (limited to 'phpBB/phpbb/captcha')
-rw-r--r--phpBB/phpbb/captcha/plugins/gd.php2
-rw-r--r--phpBB/phpbb/captcha/plugins/recaptcha.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/captcha/plugins/gd.php b/phpBB/phpbb/captcha/plugins/gd.php
index 129fc0c907..5fe94af9df 100644
--- a/phpBB/phpbb/captcha/plugins/gd.php
+++ b/phpBB/phpbb/captcha/plugins/gd.php
@@ -80,7 +80,7 @@ class gd extends captcha_abstract
$value = request_var($captcha_var, 0);
if ($value >= 0)
{
- set_config($captcha_var, $value);
+ $config->set($captcha_var, $value);
}
}
diff --git a/phpBB/phpbb/captcha/plugins/recaptcha.php b/phpBB/phpbb/captcha/plugins/recaptcha.php
index a335dedfce..369c84e7df 100644
--- a/phpBB/phpbb/captcha/plugins/recaptcha.php
+++ b/phpBB/phpbb/captcha/plugins/recaptcha.php
@@ -97,7 +97,7 @@ class recaptcha extends captcha_abstract
$value = request_var($captcha_var, '');
if ($value)
{
- set_config($captcha_var, $value);
+ $config->set($captcha_var, $value);
}
}