X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=include%2Fauth.php;h=e3c8d92eebd23f2ae9e6ba33d98f25fcab3ce8ec;hb=e9d719a299a107ba6374b68be1e5f1b306e43fb5;hp=2ca9c3efb29e7937b326b40ee8e5d2665693cd57;hpb=e54ee2e5091eafe7fa22baa213a798f9e6f58b01;p=friendica.git
diff --git a/include/auth.php b/include/auth.php
index 2ca9c3efb2..e3c8d92eeb 100644
--- a/include/auth.php
+++ b/include/auth.php
@@ -125,8 +125,7 @@ if (isset($_SESSION) && x($_SESSION,'authenticated') && (!x($_POST,'auth-params'
$openid = new LightOpenID;
$openid->identity = $openid_url;
$_SESSION['openid'] = $openid_url;
- $a = get_app();
- $openid->returnUrl = $a->get_baseurl(true).'/openid';
+ $openid->returnUrl = App::get_baseurl(true).'/openid';
goaway($openid->authUrl());
} catch (Exception $e) {
notice(t('We encountered a problem while logging in with the OpenID you provided. Please check the correct spelling of the ID.').'
'.t('The error message was:').' '.$e->getMessage());