summaryrefslogtreecommitdiff
path: root/actions/shownotice.php
diff options
context:
space:
mode:
authorsarven <csarven@plantard.controlezvous.ca>2009-01-15 23:05:57 +0000
committersarven <csarven@plantard.controlezvous.ca>2009-01-15 23:05:57 +0000
commit0357ea505dd8aba293a67f0bfa122c3bbd29e51b (patch)
tree2329651d23e2795cef00ea80bd1b252c7510fc94 /actions/shownotice.php
parent8d9fb7711f32f7b7c0676641dd0c2b9343a5666f (diff)
parent4b0cf99e56f965e10eeb8b8b19e7b405bda49eaf (diff)
Merge branch 'uiredesign' of ../evan into uiredesign
Diffstat (limited to 'actions/shownotice.php')
-rw-r--r--actions/shownotice.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/actions/shownotice.php b/actions/shownotice.php
index c519af0ba..82d4bd270 100644
--- a/actions/shownotice.php
+++ b/actions/shownotice.php
@@ -37,14 +37,14 @@ class ShownoticeAction extends StreamAction
$this->notice = Notice::staticGet($id);
if (!$this->notice) {
- $this->client_error(_('No such notice.'), 404);
+ $this->clientError(_('No such notice.'), 404);
return false;
}
$this->profile = $this->notice->getProfile();
if (!$this->profile) {
- $this->server_error(_('Notice has no profile'), 500);
+ $this->serverError(_('Notice has no profile'), 500);
return false;
}
@@ -119,6 +119,6 @@ class ShownoticeAction extends StreamAction
function no_such_notice()
{
- common_user_error(_('No such notice.'));
+ $this->clientError(_('No such notice.'));
}
}