mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Merge remote-tracking branch 'p/ticket/11157' into develop
* p/ticket/11157: [ticket/11157] static public is the currently approved order. [ticket/11157] Fix remaining captcha spam. [ticket/11157] get_captcha_types is an instance method.
This commit is contained in:
@@ -55,7 +55,7 @@ class phpbb_captcha_gd extends phpbb_default_captcha
|
||||
return $instance;
|
||||
}
|
||||
|
||||
function is_available()
|
||||
static public function is_available()
|
||||
{
|
||||
global $phpbb_root_path, $phpEx;
|
||||
|
||||
@@ -80,7 +80,7 @@ class phpbb_captcha_gd extends phpbb_default_captcha
|
||||
return true;
|
||||
}
|
||||
|
||||
function get_name()
|
||||
static public function get_name()
|
||||
{
|
||||
return 'CAPTCHA_GD';
|
||||
}
|
||||
|
Reference in New Issue
Block a user