1
0
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:
Bruno Ais
2012-04-05 14:14:40 +01:00
parent cddd63aae0
commit c8da69d9c2
6 changed files with 6 additions and 6 deletions

View File

@@ -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;