X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Ffinishimmediate.php;h=6dbaa3d1c6f0510054721ba5e52e48b76749b2d9;hb=4272da4e9e2ab9c99b4b9897f04c92cd7987cb8b;hp=99c868f4673f34a5868125271ee2a8add53a25d9;hpb=08035caa5b6a20affe5772c84a8d786927296b72;p=quix0rs-gnu-social.git diff --git a/actions/finishimmediate.php b/actions/finishimmediate.php index 99c868f467..6dbaa3d1c6 100644 --- a/actions/finishimmediate.php +++ b/actions/finishimmediate.php @@ -25,7 +25,7 @@ class FinishimmediateAction extends Action { function handle($args) { parent::handle($args); - + $consumer = oid_consumer(); $response = $consumer->complete(common_local_url('finishimmediate')); @@ -36,7 +36,7 @@ class FinishimmediateAction extends Action { $response->endpoint->canonicalID : $response->getDisplayIdentifier(); $user = oid_get_user($canonical); - + if ($user) { oid_update_user($user, $sreg); oid_set_last($display); # refresh for another year @@ -47,12 +47,12 @@ class FinishimmediateAction extends Action { } # Failure! Clear openid so we don't try it again - + oid_clear_last(); $this->go_backto(); return; } - + function go_backto() { common_ensure_session(); $backto = $_SESSION['openid_immediate_backto'];