]> git.mxchange.org Git - friendica.git/commitdiff
Remove references to library/openid
authorHypolite Petovan <mrpetovan@gmail.com>
Sat, 27 Jan 2018 21:31:49 +0000 (16:31 -0500)
committerHypolite Petovan <mrpetovan@gmail.com>
Sat, 27 Jan 2018 23:28:04 +0000 (18:28 -0500)
mod/openid.php
mod/settings.php
src/Model/User.php
src/Module/Login.php

index 5af209c13e072fb838358e8e4cd0dccb1e0d1686..af7016c32b0dcd640566685786345f1e840026d3 100644 (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');
index 2ea6d53343e7a3656dcb60157ffea126c42b47e0..cb052826f40428159c032be7f9bfcc8b2b31044e 100644 (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);
index 4eba5112ad5bf28c567ab71931f7c3a04f0878c1..c8409b58431d6106069281338332a73b4263b642 100644 (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
index e080663d7f0429199ecab7a5ac882124a0410798..ae7277329d373d53bb4891e938dc1e5fb490e112 100644 (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;