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

This commit is contained in:
Philipp Holzer
2018-10-19 20:11:27 +02:00
parent 2ef81108b3
commit d00ddc01af
61 changed files with 286 additions and 266 deletions

View File

@@ -13,8 +13,8 @@ function randprof_init(App $a)
$x = GContact::getRandomUrl();
if ($x) {
$a->redirect(Contact::magicLink($x));
$a->internalRedirect(Contact::magicLink($x));
}
$a->redirect('profile');
$a->internalRedirect('profile');
}