From: Sandro Santilli Date: Tue, 16 Jan 2018 12:11:38 +0000 (+0100) Subject: Do not "pollute" global namespace with LightOpenID symbol X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=032c87d7186c1af4fee626b16f6037b59995b995;p=friendica.git Do not "pollute" global namespace with LightOpenID symbol --- diff --git a/src/Module/Login.php b/src/Module/Login.php index 614375fc05..941510576b 100644 --- a/src/Module/Login.php +++ b/src/Module/Login.php @@ -6,7 +6,6 @@ use Friendica\BaseModule; use Friendica\Core\Config; use Friendica\Database\DBM; use Friendica\Model\User; -use LightOpenID; use dba; require_once 'boot.php'; @@ -66,7 +65,7 @@ class Login extends BaseModule // Otherwise it's probably an openid. try { require_once 'library/openid.php'; - $openid = new LightOpenID; + $openid = new \LightOpenID; $openid->identity = $openid_url; $_SESSION['openid'] = $openid_url; $_SESSION['remember'] = $_POST['remember'];