forked from friendica/friendica-addons
Split goaway to System::externalRedirectTo() and App->internalRedirect()
This commit is contained in:
parent
0e264465ac
commit
9cf3d38e76
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue