Commit 40cffb94 authored by mmn's avatar mmn

File::isProtected is static

parent a2b914ce
......@@ -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
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment