diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-06-26 18:32:18 -0700 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-06-26 18:32:18 -0700 |
commit | a68722c9c75cd9dc8ed84e186f3b4ecc5556b1a3 (patch) | |
tree | 564b804360160c908fe6c4469824f1ee9c194b25 /actions/file.php | |
parent | 60b47d879781e28c0f08978bba43d5b9ad22b32a (diff) | |
parent | 96ba25c34bc03c5b72c13241a00e467a0585cd2a (diff) |
Merge branch 'attachment-fixup' into 0.8.x
* attachment-fixup:
Added readonly flag to FileAction just in case
Make shorturls in notice content point to AttachmentAction urls
Add attachment action back into router
Diffstat (limited to 'actions/file.php')
-rw-r--r-- | actions/file.php | 12 |
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; + } + } |