mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 07:47:34 +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:
@@ -54,7 +54,7 @@ class phpbb_recaptcha extends phpbb_default_captcha
|
||||
$this->response = request_var('recaptcha_response_field', '');
|
||||
}
|
||||
|
||||
function get_instance()
|
||||
static function get_instance()
|
||||
{
|
||||
$instance = new phpbb_recaptcha();
|
||||
return $instance;
|
||||
|
Reference in New Issue
Block a user