summaryrefslogtreecommitdiff
path: root/actions/avatar.php
diff options
context:
space:
mode:
authorzach <zach@copley.name>2008-07-22 13:15:01 -0400
committerzach <zach@copley.name>2008-07-22 13:15:01 -0400
commit038f762bce95323ac929b0635cceb7f9425527ec (patch)
tree9013c417f21e50cf77b53cafe707322367666441 /actions/avatar.php
parent80facfa16dfdab11135e6e79f5cea916ca0b0959 (diff)
Added is_readonly() method to all Actions
darcs-hash:20080722171501-ca946-160bad6c4f80be2b3b105ea9b913f1c0f9edb0ef.gz
Diffstat (limited to 'actions/avatar.php')
-rw-r--r--actions/avatar.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/actions/avatar.php b/actions/avatar.php
index ebfbd7295..b1697f97b 100644
--- a/actions/avatar.php
+++ b/actions/avatar.php
@@ -23,6 +23,10 @@ require_once(INSTALLDIR.'/lib/settingsaction.php');
class AvatarAction extends SettingsAction {
+ function is_readonly() {
+ return false;
+ }
+
function get_instructions() {
return _('Upload a new "avatar" (user image) here. You can\'t edit the picture after you upload it, so make sure it\'s more or less square. It must be under the site license, also. Use a picture that belongs to you and that you want to share.');
}