File::isProtected is static
This commit is contained in:
parent
a2b914ce60
commit
40cffb9463
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user