forked from GNUsocial/gnu-social
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(
|
||||
'https://www.facebook.com/login.php',
|
||||
@ -674,4 +674,4 @@ class File extends Managed_DataObject
|
||||
echo "DONE.\n";
|
||||
echo "Resuming core schema upgrade...";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user