aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Nordfeldth <mmn@hethane.se>2016-02-03 00:22:18 +0100
committerMikael Nordfeldth <mmn@hethane.se>2016-02-03 00:22:18 +0100
commit40cffb94639cdc7e704af446e5972bf482209c27 (patch)
tree0bdcddeb198a9bad810a6af5e88fd206c05839f9
parenta2b914ce602b47577d88b56b1f8010c47d00c9c2 (diff)
downloadgnu-social-40cffb94639cdc7e704af446e5972bf482209c27.tar
gnu-social-40cffb94639cdc7e704af446e5972bf482209c27.zip
File::isProtected is static
-rw-r--r--classes/File.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/File.php b/classes/File.php
index 6cad978a70..145a01356c 100644
--- a/classes/File.php
+++ b/classes/File.php
@@ -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
+}