]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/peopletagsforuser.php
ShowstreamAction fixes so it's not as horrible
[quix0rs-gnu-social.git] / actions / peopletagsforuser.php
index 83122e41055ce0b22c7070d3fd35db7937222758..827b284d5c3acf567cf550f5afdae99ed06c721b 100644 (file)
@@ -74,7 +74,6 @@ class PeopletagsforuserAction extends Action
                 $args['page'] = $this->arg['page'];
             }
             common_redirect(common_local_url('peopletagsforuser', $args), 301);
-            return false;
         }
 
         $this->user = User::getKV('nickname', $nickname);
@@ -82,7 +81,6 @@ class PeopletagsforuserAction extends Action
         if (!$this->user) {
             // TRANS: Client error displayed trying to perform an action related to a non-existing user.
             $this->clientError(_('No such user.'), 404);
-            return false;
         }
 
         $this->tagged = $this->user->getProfile();
@@ -90,7 +88,6 @@ class PeopletagsforuserAction extends Action
         if (!$this->tagged) {
             // TRANS: Error message displayed when referring to a user without a profile.
             $this->serverError(_('User has no profile.'));
-            return false;
         }
 
         $this->page = ($this->arg('page')) ? ($this->arg('page')+0) : 1;