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
1 changed files with 12 additions and 0 deletions

View File

@ -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;
}
}