]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/peopletagged.php
Suggested edits by hannes2peer
[quix0rs-gnu-social.git] / actions / peopletagged.php
index 92bfce6405101230b9ff3c06a09bc97b8c2252e1..cf9ec053ed404b64b243c8bfeeb8ccde3a0bb46d 100644 (file)
@@ -76,13 +76,11 @@ class PeopletaggedAction extends Action
                 $args['page'] = $this->page;
             }
             common_redirect(common_local_url('peopletagged', $args), 301);
-            return false;
         }
 
         if (!$tagger) {
             // TRANS: Client error displayed when a tagger is expected but not provided.
             $this->clientError(_('No tagger.'), 404);
-            return false;
         }
 
         $user = User::getKV('nickname', $tagger);
@@ -90,7 +88,6 @@ class PeopletaggedAction extends Action
         if (!$user) {
             // TRANS: Client error displayed when referring to non-existing user.
             $this->clientError(_('No such user.'), 404);
-            return false;
         }
 
         $this->tagger = $user->getProfile();
@@ -99,7 +96,6 @@ class PeopletaggedAction extends Action
         if (!$this->peopletag) {
             // TRANS: Client error displayed when referring to a non-existing list.
             $this->clientError(_('No such list.'), 404);
-            return false;
         }
 
         return true;