forked from GNUsocial/gnu-social
Add correct punctuation for client exception.
This commit is contained in:
parent
31895ba33a
commit
ee5479b902
@ -149,7 +149,7 @@ class AtompubshowfavoriteAction extends ApiAuthAction
|
|||||||
$this->auth_user->id != $this->_profile->id) {
|
$this->auth_user->id != $this->_profile->id) {
|
||||||
// TRANS: Client exception thrown when trying to remove a favorite notice of another user.
|
// TRANS: Client exception thrown when trying to remove a favorite notice of another user.
|
||||||
throw new ClientException(_("Cannot delete someone else's".
|
throw new ClientException(_("Cannot delete someone else's".
|
||||||
" favorite"), 403);
|
" favorite."), 403);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->_fave->delete();
|
$this->_fave->delete();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user