]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/AnonymousFave/actions/anondisfavor.php
Cosmetic changes to common_redirect, clientError, serverError
[quix0rs-gnu-social.git] / plugins / AnonymousFave / actions / anondisfavor.php
index c54a39202c654084dbd01c242cf39fafc3739c70..15f1040b7c4a30fd94977335970eab91e540a620 100644 (file)
@@ -58,7 +58,6 @@ class AnonDisfavorAction extends RedirectingAction
                 // TRANS: Client error.
                 _m('Could not disfavor notice! Please make sure your browser has cookies enabled.')
             );
-            return;
         }
 
         $id     = $this->trimmed('notice');
@@ -79,7 +78,6 @@ class AnonDisfavorAction extends RedirectingAction
             common_log_db_error($fave, 'DELETE', __FILE__);
             // TRANS: Server error.
             $this->serverError(_m('Could not delete favorite.'));
-            return;
         }
 
         $profile->blowFavesCache();