Permalink
Browse files

[ticket/10575] Adding public visibility to the methods.

Added public visibility to the methods

PHPBB3-10575
  • Loading branch information...
1 parent c8da69d commit 2bf1c4eb32f1e668a215f1dabb42fe88e8a9cd11 @brunoais committed Apr 5, 2012
@@ -25,7 +25,7 @@ class phpbb_captcha_factory
/**
* return an instance of class $name in file $name_plugin.php
*/
- static function get_instance($name)
+ public static function get_instance($name)
{
global $phpbb_root_path, $phpEx;
@@ -49,7 +49,7 @@ function phpbb_captcha_gd()
}
}
- static function get_instance()
+ public static function get_instance()
{
$instance = new phpbb_captcha_gd();
return $instance;
@@ -39,7 +39,7 @@ function phpbb_captcha_gd_wave()
}
}
- static function get_instance()
+ public static function get_instance()
{
return new phpbb_captcha_gd_wave();
}
@@ -39,7 +39,7 @@ function phpbb_captcha_nogd()
}
}
- static function get_instance()
+ public static function get_instance()
{
$instance = new phpbb_captcha_nogd();
return $instance;
@@ -98,7 +98,7 @@ function init($type)
/**
* API function
*/
- static function get_instance()
+ public static function get_instance()
{
$instance = new phpbb_captcha_qa();
@@ -54,7 +54,7 @@ function init($type)
$this->response = request_var('recaptcha_response_field', '');
}
- static function get_instance()
+ public static function get_instance()
{
$instance = new phpbb_recaptcha();
return $instance;

0 comments on commit 2bf1c4e

Please sign in to comment.