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

@@ -4810,8 +4810,7 @@ function api_friendica_remoteauth()
logger($contact['name'] . ' ' . $sec, LOGGER_DEBUG);
$dest = ($url ? '&destination_url=' . $url : '');
$app = get_app();
$app->redirect(
System::externalRedirect((
$contact['poll'] . '?dfrn_id=' . $dfrn_id
. '&dfrn_version=' . DFRN_PROTOCOL_VERSION
. '&type=profile&sec=' . $sec . $dest