From 038f762bce95323ac929b0635cceb7f9425527ec Mon Sep 17 00:00:00 2001 From: zach Date: Tue, 22 Jul 2008 13:15:01 -0400 Subject: Added is_readonly() method to all Actions darcs-hash:20080722171501-ca946-160bad6c4f80be2b3b105ea9b913f1c0f9edb0ef.gz --- actions/avatar.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'actions/avatar.php') 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.'); } -- cgit v1.2.3-54-g00ecf