mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-21 00:02:18 +02:00
[ticket/11854] Don't override get service name in nogd
PHPBB3-11854
This commit is contained in:
parent
4683864b4b
commit
756aa68b34
@ -25,14 +25,6 @@ class nogd extends captcha_abstract
|
||||
return 'CAPTCHA_NO_GD';
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string the name of the service corresponding to the plugin
|
||||
*/
|
||||
function get_service_name()
|
||||
{
|
||||
return 'core.captcha.plugins.nogd';
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string the name of the class used to generate the captcha
|
||||
*/
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
namespace phpbb\captcha\plugins;
|
||||
|
||||
class recaptcha extends \phpbb\captcha\plugins\captcha_abstract
|
||||
class recaptcha extends captcha_abstract
|
||||
{
|
||||
var $recaptcha_server = 'http://www.google.com/recaptcha/api';
|
||||
var $recaptcha_server_secure = 'https://www.google.com/recaptcha/api'; // class constants :(
|
||||
|
Loading…
x
Reference in New Issue
Block a user