Remove references to library/openid

This commit is contained in:
Hypolite Petovan 2018-01-27 16:31:49 -05:00
parent 30c5916def
commit 236616995b
4 changed files with 1 additions and 5 deletions

View File

@ -2,14 +2,13 @@
/**
* @file mod/openid.php
*/
use Friendica\App;
use Friendica\Core\Config;
use Friendica\Core\L10n;
use Friendica\Core\System;
use Friendica\Database\DBM;
require_once('library/openid.php');
function openid_content(App $a) {
$noid = Config::get('system','no_openid');

View File

@ -538,7 +538,6 @@ function settings_post(App $a)
if ($openid != $a->user['openid'] || (strlen($openid) && (!strlen($openidserver)))) {
if (Network::isUrlValid($openid)) {
logger('updating openidserver');
require_once 'library/openid.php';
$open_id_obj = new LightOpenID;
$open_id_obj->identity = $openid;
$openidserver = $open_id_obj->discover($open_id_obj->identity);

View File

@ -24,7 +24,6 @@ use Exception;
require_once 'boot.php';
require_once 'include/dba.php';
require_once 'include/enotify.php';
require_once 'library/openid.php';
require_once 'include/text.php';
/**
* @brief This class handles User related functions

View File

@ -68,7 +68,6 @@ class Login extends BaseModule
// Otherwise it's probably an openid.
try {
require_once 'library/openid.php';
$openid = new \LightOpenID;
$openid->identity = $openid_url;
$_SESSION['openid'] = $openid_url;