Added readonly flag to FileAction just in case

This commit is contained in:
Zach Copley 2009-06-26 18:31:24 -07:00
parent b47a1b3b57
commit 96ba25c34b

View File

@ -56,5 +56,17 @@ class FileAction extends Action
function handle() { function handle() {
common_redirect($this->filerec->url); common_redirect($this->filerec->url);
} }
/**
* Is this action read-only?
*
* @return boolean true
*/
function isReadOnly($args)
{
return true;
}
} }