From: Philipp Holzer Date: Fri, 19 Oct 2018 21:41:36 +0000 (+0200) Subject: Split goaway to System::externalRedirectTo() and App->internalRedirect() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9cf3d38e76dde11a13807158c1d1b37be1574fcf;p=friendica-addons.git Split goaway to System::externalRedirectTo() and App->internalRedirect() --- diff --git a/blackout/blackout.php b/blackout/blackout.php index a4e3eb35..20369716 100644 --- a/blackout/blackout.php +++ b/blackout/blackout.php @@ -88,7 +88,7 @@ function blackout_redirect ($a, $b) { } if (( $date1 <= $now ) && ( $now <= $date2 )) { logger('redirecting user to blackout page'); - System::externalRedirectTo($myurl); + System::externalRedirect($myurl); } }