From: Mikael Nordfeldth Date: Tue, 2 Feb 2016 23:22:18 +0000 (+0100) Subject: File::isProtected is static X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=40cffb94639cdc7e704af446e5972bf482209c27;p=quix0rs-gnu-social.git File::isProtected is static --- 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 +}