X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FAnonymousFave%2Factions%2Fanonfavor.php;h=6ce0e84a16d76347b7d3438eda68d51bbc03c152;hb=fe11f9a28c8ef2df46e09c53276f8d2184b03f2e;hp=eacd7753310f4753d1f0607b44ea6015e397f3a9;hpb=e155d00a21d9b5cf073153ba3a3addc0f4487703;p=quix0rs-gnu-social.git diff --git a/plugins/AnonymousFave/actions/anonfavor.php b/plugins/AnonymousFave/actions/anonfavor.php index eacd775331..6ce0e84a16 100644 --- a/plugins/AnonymousFave/actions/anonfavor.php +++ b/plugins/AnonymousFave/actions/anonfavor.php @@ -62,11 +62,6 @@ class AnonFavorAction extends RedirectingAction $notice = Notice::getKV($id); $token = $this->checkSessionToken(); - if (Fave::existsForProfile($notice, $profile)) { - // TRANS: Client error. - throw new AlreadyFulfilledException(_m('This notice is already a favorite!')); - } - // Throws exception $stored = Fave::addNew($profile, $notice);