]> git.mxchange.org Git - friendica.git/commitdiff
Do not "pollute" global namespace with LightOpenID symbol
authorSandro Santilli <strk@kbt.io>
Tue, 16 Jan 2018 12:11:38 +0000 (13:11 +0100)
committerSandro Santilli <strk@kbt.io>
Tue, 16 Jan 2018 12:11:38 +0000 (13:11 +0100)
src/Module/Login.php

index 614375fc05b71a492703f0b5a99e13b309232a17..941510576b3a04ddcd28e6b2dbe66d5fc1b2eb1b 100644 (file)
@@ -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'];