summaryrefslogtreecommitdiff
path: root/actions/replies.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/replies.php')
-rw-r--r--actions/replies.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/actions/replies.php b/actions/replies.php
index eceeb4d65..84fd894ff 100644
--- a/actions/replies.php
+++ b/actions/replies.php
@@ -40,7 +40,7 @@ class RepliesAction extends StreamAction
$profile = $user->getProfile();
if (!$profile) {
- common_server_error(_('User has no profile.'));
+ $this->serverError(_('User has no profile.'));
return;
}
@@ -57,12 +57,12 @@ class RepliesAction extends StreamAction
function no_such_user()
{
- common_user_error(_('No such user.'));
+ $this->clientError(_('No such user.'));
}
function show_header($user)
{
- common_element('link', array('rel' => 'alternate',
+ $this->element('link', array('rel' => 'alternate',
'href' => common_local_url('repliesrss', array('nickname' =>
$user->nickname)),
'type' => 'application/rss+xml',