Split goaway to System::externalRedirectTo() and App->internalRedirect()

This commit is contained in:
Philipp Holzer 2018-10-19 23:41:36 +02:00
parent 0e264465ac
commit 9cf3d38e76
No known key found for this signature in database
GPG Key ID: 517BE60E2CE5C8A5

View File

@ -88,7 +88,7 @@ function blackout_redirect ($a, $b) {
} }
if (( $date1 <= $now ) && ( $now <= $date2 )) { if (( $date1 <= $now ) && ( $now <= $date2 )) {
logger('redirecting user to blackout page'); logger('redirecting user to blackout page');
System::externalRedirectTo($myurl); System::externalRedirect($myurl);
} }
} }