forked from GNUsocial/gnu-social
Added readonly flag to FileAction just in case
This commit is contained in:
parent
b47a1b3b57
commit
96ba25c34b
@ -56,5 +56,17 @@ class FileAction extends Action
|
||||
function handle() {
|
||||
common_redirect($this->filerec->url);
|
||||
}
|
||||
|
||||
/**
|
||||
* Is this action read-only?
|
||||
*
|
||||
* @return boolean true
|
||||
*/
|
||||
|
||||
function isReadOnly($args)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user