X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fshownotice.php;fp=actions%2Fshownotice.php;h=d86e98080bad9efc1c7653f8806a06415ded1258;hb=c00491cd7a29a9ef16d6e6bfa54505d4c9a522fe;hp=1f92978062755b8d538fe685d29e349d58aa97f5;hpb=acbe94936f6d9edf24781550e2eabef24d13c455;p=quix0rs-gnu-social.git diff --git a/actions/shownotice.php b/actions/shownotice.php index 1f92978062..d86e98080b 100644 --- a/actions/shownotice.php +++ b/actions/shownotice.php @@ -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();