File::isProtected is static

This commit is contained in:
Mikael Nordfeldth 2016-02-03 00:22:18 +01:00
parent a2b914ce60
commit 40cffb9463
1 changed files with 2 additions and 2 deletions

View 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...";
}
}
}