mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/11854] Don't override get service name in nogd
PHPBB3-11854
This commit is contained in:
parent
4683864b4b
commit
756aa68b34
2 changed files with 1 additions and 9 deletions
|
@ -25,14 +25,6 @@ class nogd extends captcha_abstract
|
||||||
return 'CAPTCHA_NO_GD';
|
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
|
* @return string the name of the class used to generate the captcha
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
namespace phpbb\captcha\plugins;
|
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 = 'http://www.google.com/recaptcha/api';
|
||||||
var $recaptcha_server_secure = 'https://www.google.com/recaptcha/api'; // class constants :(
|
var $recaptcha_server_secure = 'https://www.google.com/recaptcha/api'; // class constants :(
|
||||||
|
|
Loading…
Add table
Reference in a new issue