]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
File::isProtected is static
authorMikael Nordfeldth <mmn@hethane.se>
Tue, 2 Feb 2016 23:22:18 +0000 (00:22 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Tue, 2 Feb 2016 23:22:18 +0000 (00:22 +0100)
classes/File.php

index 6cad978a703cadaf66670014cea1cd6b05adccd8..145a01356c3bb0a0a7f2515649e7b01e9f40fabf 100644 (file)
@@ -71,7 +71,7 @@ class File extends Managed_DataObject
         );
     }
 
-    function isProtected($url) {
+    public static function isProtected($url) {
 
                $protected_urls_exps = array(
                        'https://www.facebook.com/login.php',
@@ -674,4 +674,4 @@ class File extends Managed_DataObject
         echo "DONE.\n";
         echo "Resuming core schema upgrade...";
     }
-}
\ No newline at end of file
+}