Browse files

"public static" -> "static"

  • Loading branch information...
1 parent daea22c commit 75492b9dd6e229ae7fbc60ebc5e1beb5cf4411a2 @bharat bharat committed Apr 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/gallery/helpers/MY_valid.php
View
2 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://")));

0 comments on commit 75492b9

Please sign in to comment.