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

This commit is contained in:
Philipp Holzer 2018-10-19 20:14:52 +02:00
parent e825cbc7a1
commit 0e264465ac
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5
5 changed files with 7 additions and 7 deletions

View file

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