aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/captcha/plugins
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2012-10-29 14:54:54 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2012-10-29 14:54:54 -0400
commitd602f13d7f6ba7ee67a5286befd8afd9f8f0cd15 (patch)
tree3ebe8c224b8c20f947997026f6abb576546fc1b4 /phpBB/includes/captcha/plugins
parent14a6e5ec73779d18cc6f09cb3b1cb4fd08f024f8 (diff)
downloadforums-d602f13d7f6ba7ee67a5286befd8afd9f8f0cd15.tar
forums-d602f13d7f6ba7ee67a5286befd8afd9f8f0cd15.tar.gz
forums-d602f13d7f6ba7ee67a5286befd8afd9f8f0cd15.tar.bz2
forums-d602f13d7f6ba7ee67a5286befd8afd9f8f0cd15.tar.xz
forums-d602f13d7f6ba7ee67a5286befd8afd9f8f0cd15.zip
[ticket/11157] static public is the currently approved order.
PHPBB3-11157
Diffstat (limited to 'phpBB/includes/captcha/plugins')
-rw-r--r--phpBB/includes/captcha/plugins/phpbb_captcha_gd_plugin.php4
-rw-r--r--phpBB/includes/captcha/plugins/phpbb_captcha_gd_wave_plugin.php4
-rw-r--r--phpBB/includes/captcha/plugins/phpbb_captcha_nogd_plugin.php4
-rw-r--r--phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php6
-rw-r--r--phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php4
5 files changed, 11 insertions, 11 deletions
diff --git a/phpBB/includes/captcha/plugins/phpbb_captcha_gd_plugin.php b/phpBB/includes/captcha/plugins/phpbb_captcha_gd_plugin.php
index e4503cabe4..5328e64a86 100644
--- a/phpBB/includes/captcha/plugins/phpbb_captcha_gd_plugin.php
+++ b/phpBB/includes/captcha/plugins/phpbb_captcha_gd_plugin.php
@@ -55,7 +55,7 @@ class phpbb_captcha_gd extends phpbb_default_captcha
return $instance;
}
- public static 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;
}
- public static function get_name()
+ static public function get_name()
{
return 'CAPTCHA_GD';
}
diff --git a/phpBB/includes/captcha/plugins/phpbb_captcha_gd_wave_plugin.php b/phpBB/includes/captcha/plugins/phpbb_captcha_gd_wave_plugin.php
index 06ad9dbbf6..48af287723 100644
--- a/phpBB/includes/captcha/plugins/phpbb_captcha_gd_wave_plugin.php
+++ b/phpBB/includes/captcha/plugins/phpbb_captcha_gd_wave_plugin.php
@@ -44,7 +44,7 @@ class phpbb_captcha_gd_wave extends phpbb_default_captcha
return new phpbb_captcha_gd_wave();
}
- public static function is_available()
+ static public function is_available()
{
global $phpbb_root_path, $phpEx;
@@ -61,7 +61,7 @@ class phpbb_captcha_gd_wave extends phpbb_default_captcha
return can_load_dll('gd');
}
- public static function get_name()
+ static public function get_name()
{
return 'CAPTCHA_GD_3D';
}
diff --git a/phpBB/includes/captcha/plugins/phpbb_captcha_nogd_plugin.php b/phpBB/includes/captcha/plugins/phpbb_captcha_nogd_plugin.php
index 563dbf6660..6d6e2c6036 100644
--- a/phpBB/includes/captcha/plugins/phpbb_captcha_nogd_plugin.php
+++ b/phpBB/includes/captcha/plugins/phpbb_captcha_nogd_plugin.php
@@ -45,12 +45,12 @@ class phpbb_captcha_nogd extends phpbb_default_captcha
return $instance;
}
- public static function is_available()
+ static public function is_available()
{
return true;
}
- public static function get_name()
+ static public function get_name()
{
return 'CAPTCHA_NO_GD';
}
diff --git a/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php b/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php
index c005d478a2..0eae643d33 100644
--- a/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php
+++ b/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php
@@ -108,7 +108,7 @@ class phpbb_captcha_qa
/**
* See if the captcha has created its tables.
*/
- public static function is_installed()
+ static public function is_installed()
{
global $db, $phpbb_root_path, $phpEx;
@@ -124,7 +124,7 @@ class phpbb_captcha_qa
/**
* API function - for the captcha to be available, it must have installed itself and there has to be at least one question in the board's default lang
*/
- public static function is_available()
+ static public function is_available()
{
global $config, $db, $phpbb_root_path, $phpEx, $user;
@@ -157,7 +157,7 @@ class phpbb_captcha_qa
/**
* API function
*/
- public static function get_name()
+ static public function get_name()
{
return 'CAPTCHA_QA';
}
diff --git a/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php b/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php
index 55bebf9443..cf14caff54 100644
--- a/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php
+++ b/phpBB/includes/captcha/plugins/phpbb_recaptcha_plugin.php
@@ -60,7 +60,7 @@ class phpbb_recaptcha extends phpbb_default_captcha
return $instance;
}
- public static function is_available()
+ static public function is_available()
{
global $config, $user;
$user->add_lang('captcha_recaptcha');
@@ -75,7 +75,7 @@ class phpbb_recaptcha extends phpbb_default_captcha
return true;
}
- public static function get_name()
+ static public function get_name()
{
return 'CAPTCHA_RECAPTCHA';
}