File::isProtected is static

This commit is contained in:
Mikael Nordfeldth 2016-02-03 00:22:18 +01:00
parent a2b914ce60
commit 40cffb9463

View File

@ -71,7 +71,7 @@ class File extends Managed_DataObject
); );
} }
function isProtected($url) { public static function isProtected($url) {
$protected_urls_exps = array( $protected_urls_exps = array(
'https://www.facebook.com/login.php', 'https://www.facebook.com/login.php',