]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/UserFlag/actions/adminprofileflag.php
Cosmetic changes to common_redirect, clientError, serverError
[quix0rs-gnu-social.git] / plugins / UserFlag / actions / adminprofileflag.php
index b7538c6663368b5c99b06d7d07ea28f4f391fd7d..9b5b4088bf0f2555c1bf619750fda7a85ea296e6 100644 (file)
@@ -63,7 +63,6 @@ class AdminprofileflagAction extends Action
         if (!common_logged_in()) {
             // TRANS: Error message displayed when trying to perform an action that requires a logged in user.
             $this->clientError(_m('Not logged in.'));
-            return;
         }
 
         $user = common_current_user();
@@ -88,7 +87,6 @@ class AdminprofileflagAction extends Action
         if (!$user->hasRight(UserFlagPlugin::REVIEWFLAGS)) {
             // TRANS: Error message displayed when trying to review profile flags while not authorised.
             $this->clientError(_m('You cannot review profile flags.'));
-            return false;
         }
 
         $this->page = $this->trimmed('page');