summaryrefslogtreecommitdiff
path: root/actions/file.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/file.php')
-rw-r--r--actions/file.php12
1 files changed, 12 insertions, 0 deletions
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;
+ }
+
}