X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fdeletenotice.php;h=ff57bbd61eb28cc7227771da9839419ea036f9ae;hb=c858e2bc3484d58833650cf64bb2fbe2a4871cf8;hp=a7ac28e19c202ce8d97b7ae1985484ad61a12e3a;hpb=6e894c010fc0e7ddaaafa8795634d6343019aafb;p=quix0rs-gnu-social.git diff --git a/actions/deletenotice.php b/actions/deletenotice.php index a7ac28e19c..ff57bbd61e 100644 --- a/actions/deletenotice.php +++ b/actions/deletenotice.php @@ -75,7 +75,7 @@ class DeletenoticeAction extends Action if ($this->notice->profile_id != $this->user_profile->id && !$this->user->hasRight(Right::DELETEOTHERSNOTICE)) { // TRANS: Error message displayed trying to delete a notice that was not made by the current user. - common_user_error(_('Can\'t delete this notice.')); + common_user_error(_('Cannot delete this notice.')); exit; } // XXX: Ajax!