aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2009-08-14 10:00:30 +0000
committerHenry Sudhof <kellanved@phpbb.com>2009-08-14 10:00:30 +0000
commit918e66758795f744092fce2d423f6d43bb00b7c0 (patch)
tree9b69d7771084ac7f96838984ce08131cf246976c /phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php
parent52250a33b49c406681fdf6cd93609c53ba108d87 (diff)
downloadforums-918e66758795f744092fce2d423f6d43bb00b7c0.tar
forums-918e66758795f744092fce2d423f6d43bb00b7c0.tar.gz
forums-918e66758795f744092fce2d423f6d43bb00b7c0.tar.bz2
forums-918e66758795f744092fce2d423f6d43bb00b7c0.tar.xz
forums-918e66758795f744092fce2d423f6d43bb00b7c0.zip
#49675 #49655 - ATTENTION: small captcha API change
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9975 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.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php b/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php
index b7b3ab07d3..3634869a06 100644
--- a/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php
+++ b/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php
@@ -54,6 +54,14 @@ class phpbb_recaptcha extends phpbb_default_captcha
$user->add_lang('captcha_recaptcha');
return (isset($config['recaptcha_pubkey']) && !empty($config['recaptcha_pubkey']));
}
+
+ /**
+ * API function
+ */
+ function has_config()
+ {
+ return true;
+ }
function get_name()
{