Do not "pollute" global namespace with LightOpenID symbol

This commit is contained in:
Sandro Santilli 2018-01-16 13:11:38 +01:00
parent 6bc096b150
commit 032c87d718
1 changed files with 1 additions and 2 deletions

View 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'];