]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/shownotice.php
Cosmetic changes to common_redirect, clientError, serverError
[quix0rs-gnu-social.git] / actions / shownotice.php
index 1f92978062755b8d538fe685d29e349d58aa97f5..d86e98080bad9efc1c7653f8806a06415ded1258 100644 (file)
@@ -97,7 +97,6 @@ class ShownoticeAction extends Action
         if (empty($this->profile)) {
             // TRANS: Server error displayed trying to show a notice without a connected profile.
             $this->serverError(_('Notice has no profile.'), 500);
-            return false;
         }
 
         $this->user = User::getKV('id', $this->profile->id);
@@ -230,7 +229,6 @@ class ShownoticeAction extends Action
                 }
                 if ($target && $target != $this->selfUrl()) {
                     common_redirect($target, 301);
-                    return false;
                 }
             }
             $this->showPage();