Replaced goaway() with System::redirect() #750

Merged
nupplaphil merged 6 commits from goaway_to_redirectto into develop 2019-02-04 02:36:22 +01:00
Showing only changes of commit c3d51338e0 - Show all commits

View file

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