]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/peopletagsbyuser.php
Forgotten migrations of ->profile and ->user to ->getTarget()
[quix0rs-gnu-social.git] / actions / peopletagsbyuser.php
index 8a5a53eca4f2bb5720b08a322b14df8faa997aec..8b3a91917a5f0611b7fbebbc8b847edba393e67f 100644 (file)
@@ -92,7 +92,6 @@ class PeopletagsbyuserAction extends Action
                 $args['page'] = $this->arg['page'];
             }
             common_redirect(common_local_url('peopletagsbyuser', $args), 301);
-            return false;
         }
 
         $this->user = User::getKV('nickname', $nickname);
@@ -100,7 +99,6 @@ class PeopletagsbyuserAction 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->tagger = $this->user->getProfile();
@@ -108,7 +106,6 @@ class PeopletagsbyuserAction extends Action
         if (!$this->tagger) {
             // 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;
@@ -146,7 +143,6 @@ class PeopletagsbyuserAction extends Action
 
                if ($_SERVER['REQUEST_METHOD'] == 'POST') {
                    common_redirect(common_local_url('peopletagsbyuser', $this->getSelfUrlArgs()), 303);
-            return;
                }
 
         $this->showPage();