diff options
author | Brion Vibber <brion@status.net> | 2010-08-05 10:56:49 -0700 |
---|---|---|
committer | Brion Vibber <brion@status.net> | 2010-08-05 10:56:49 -0700 |
commit | 77a96e3d7cecd5fd61ad72b698a15a8a3c7b0940 (patch) | |
tree | e7ab2aaf70f19d22136057741ea8dfc97897dd73 /classes | |
parent | a44641bdb692c4bcf03d9dea07773ac1511dd8da (diff) | |
parent | fd530a892fd969f8938d8f7300d348846e684d2f (diff) |
Merge branch 'master' into testing
Diffstat (limited to 'classes')
-rw-r--r-- | classes/Notice.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Notice.php b/classes/Notice.php index 8552248ba..36943be84 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -275,7 +275,7 @@ class Notice extends Memcached_DataObject if (!$profile->hasRight(Right::NEWNOTICE)) { common_log(LOG_WARNING, "Attempted post from user disallowed to post: " . $profile->nickname); - throw new ClientException(_('You are banned from posting notices on this site.')); + throw new ClientException(_('You are banned from posting notices on this site.'), 403); } $notice = new Notice(); |