summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/MY_valid.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2012-04-01 14:09:08 -0700
committerBharat Mediratta <bharat@menalto.com>2012-04-01 14:09:08 -0700
commit75492b9dd6e229ae7fbc60ebc5e1beb5cf4411a2 (patch)
treeb926635c4a69df710b23d78dca48237e717512ec /modules/gallery/helpers/MY_valid.php
parentdaea22c6b3ed760177b51fbdd28c197f9d928274 (diff)
"public static" -> "static"
Diffstat (limited to 'modules/gallery/helpers/MY_valid.php')
-rw-r--r--modules/gallery/helpers/MY_valid.php2
1 files changed, 1 insertions, 1 deletions
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://")));