Remove references to library/openid
This commit is contained in:
parent
30c5916def
commit
236616995b
|
@ -2,14 +2,13 @@
|
||||||
/**
|
/**
|
||||||
* @file mod/openid.php
|
* @file mod/openid.php
|
||||||
*/
|
*/
|
||||||
|
|
||||||
use Friendica\App;
|
use Friendica\App;
|
||||||
use Friendica\Core\Config;
|
use Friendica\Core\Config;
|
||||||
use Friendica\Core\L10n;
|
use Friendica\Core\L10n;
|
||||||
use Friendica\Core\System;
|
use Friendica\Core\System;
|
||||||
use Friendica\Database\DBM;
|
use Friendica\Database\DBM;
|
||||||
|
|
||||||
require_once('library/openid.php');
|
|
||||||
|
|
||||||
function openid_content(App $a) {
|
function openid_content(App $a) {
|
||||||
|
|
||||||
$noid = Config::get('system','no_openid');
|
$noid = Config::get('system','no_openid');
|
||||||
|
|
|
@ -538,7 +538,6 @@ function settings_post(App $a)
|
||||||
if ($openid != $a->user['openid'] || (strlen($openid) && (!strlen($openidserver)))) {
|
if ($openid != $a->user['openid'] || (strlen($openid) && (!strlen($openidserver)))) {
|
||||||
if (Network::isUrlValid($openid)) {
|
if (Network::isUrlValid($openid)) {
|
||||||
logger('updating openidserver');
|
logger('updating openidserver');
|
||||||
require_once 'library/openid.php';
|
|
||||||
$open_id_obj = new LightOpenID;
|
$open_id_obj = new LightOpenID;
|
||||||
$open_id_obj->identity = $openid;
|
$open_id_obj->identity = $openid;
|
||||||
$openidserver = $open_id_obj->discover($open_id_obj->identity);
|
$openidserver = $open_id_obj->discover($open_id_obj->identity);
|
||||||
|
|
|
@ -24,7 +24,6 @@ use Exception;
|
||||||
require_once 'boot.php';
|
require_once 'boot.php';
|
||||||
require_once 'include/dba.php';
|
require_once 'include/dba.php';
|
||||||
require_once 'include/enotify.php';
|
require_once 'include/enotify.php';
|
||||||
require_once 'library/openid.php';
|
|
||||||
require_once 'include/text.php';
|
require_once 'include/text.php';
|
||||||
/**
|
/**
|
||||||
* @brief This class handles User related functions
|
* @brief This class handles User related functions
|
||||||
|
|
|
@ -68,7 +68,6 @@ class Login extends BaseModule
|
||||||
|
|
||||||
// Otherwise it's probably an openid.
|
// Otherwise it's probably an openid.
|
||||||
try {
|
try {
|
||||||
require_once 'library/openid.php';
|
|
||||||
$openid = new \LightOpenID;
|
$openid = new \LightOpenID;
|
||||||
$openid->identity = $openid_url;
|
$openid->identity = $openid_url;
|
||||||
$_SESSION['openid'] = $openid_url;
|
$_SESSION['openid'] = $openid_url;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user