]> git.mxchange.org Git - friendica-addons.git/commitdiff
Split goaway to System::externalRedirectTo() and App->internalRedirect()
authorPhilipp Holzer <admin@philipp.info>
Fri, 19 Oct 2018 21:41:36 +0000 (23:41 +0200)
committerPhilipp Holzer <admin@philipp.info>
Mon, 4 Feb 2019 00:50:41 +0000 (01:50 +0100)
blackout/blackout.php

index a4e3eb35996058f66223e8124f5448e42c48b80d..20369716a608302834920640aa4a32c4cb171070 100644 (file)
@@ -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);
     }
 }