Fix syntax errors

This commit is contained in:
Zach Copley 2009-10-13 14:48:19 -07:00
parent 4f5badda94
commit 8be28f478d
2 changed files with 2 additions and 2 deletions

View File

@ -157,7 +157,7 @@ class ApiDirectMessageNewAction extends ApiAuthAction
// Note: sending msgs to yourself is allowed by Twitter // Note: sending msgs to yourself is allowed by Twitter
$errmsg = 'Don\'t send a message to yourself; ' . $errmsg = 'Don\'t send a message to yourself; ' .
'just say it to yourself quietly instead.' 'just say it to yourself quietly instead.';
$this->clientError(_($errmsg), 403, $this->format); $this->clientError(_($errmsg), 403, $this->format);
return; return;

View File

@ -127,7 +127,7 @@ class ApiFavoriteCreateAction extends ApiAuthAction
if (empty($fave)) { if (empty($fave)) {
$this->clientError( $this->clientError(
_('Could not create favorite.') _('Could not create favorite.'),
403, 403,
$this->format $this->format
); );