From 96ba25c34bc03c5b72c13241a00e467a0585cd2a Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Fri, 26 Jun 2009 18:31:24 -0700 Subject: Added readonly flag to FileAction just in case --- actions/file.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'actions/file.php') diff --git a/actions/file.php b/actions/file.php index 271f57ab9..8310e48df 100644 --- a/actions/file.php +++ b/actions/file.php @@ -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; + } + } -- cgit v1.2.3-54-g00ecf