summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-06-26 18:31:24 -0700
committerZach Copley <zach@controlyourself.ca>2009-06-26 18:31:24 -0700
commit96ba25c34bc03c5b72c13241a00e467a0585cd2a (patch)
treec85cd2f556d4669604d2fcbc0098a01ee8df1904
parentb47a1b3b578021d4d857c8030a5b6ee0101eae41 (diff)
Added readonly flag to FileAction just in case
-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;
+ }
+
}