mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
[ticket/10575] Fixing non-static access to static functions get_instance
These changes should solve the strict standards error about accessing the non-static get_instance() in a non-static way. For that, I changed the get_instance methods to static methods. PHPBB3-10575
This commit is contained in:
@@ -39,7 +39,7 @@ class phpbb_captcha_nogd extends phpbb_default_captcha
|
||||
}
|
||||
}
|
||||
|
||||
function get_instance()
|
||||
static function get_instance()
|
||||
{
|
||||
$instance = new phpbb_captcha_nogd();
|
||||
return $instance;
|
||||
|
Reference in New Issue
Block a user