- if ($this->user->id == $this->notice->profile_id) {
- // TRANS: Client error displayed when trying to repeat an own notice.
- $this->clientError(_('You cannot repeat your own notice.'));
- return false;
- }
-
- $token = $this->trimmed('token-'.$id);