From 75492b9dd6e229ae7fbc60ebc5e1beb5cf4411a2 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 1 Apr 2012 14:09:08 -0700 Subject: "public static" -> "static" --- modules/gallery/helpers/MY_valid.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/gallery/helpers/MY_valid.php b/modules/gallery/helpers/MY_valid.php index 68712302..ee17267a 100644 --- a/modules/gallery/helpers/MY_valid.php +++ b/modules/gallery/helpers/MY_valid.php @@ -18,7 +18,7 @@ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ class valid extends valid_Core { - public static function url($url) { + static function url($url) { return valid_Core::url($url) && (!strncasecmp($url, "http://", strlen("http://")) || !strncasecmp($url, "https://", strlen("https://"))); -- cgit v1.2.3