]> git.mxchange.org Git - friendica.git/blobdiff - src/Util/ExAuth.php
formating
[friendica.git] / src / Util / ExAuth.php
index f3eb746ca366db33fd5dfedbab28f8db882ebe8c..22ac0203f73dba7b6f0ae1989c6d0d3e6d8157b0 100644 (file)
@@ -34,7 +34,6 @@
 
 namespace Friendica\Util;
 
-use Friendica\Core\Config;
 use Friendica\Database\DBA;
 use Friendica\DI;
 use Friendica\Model\User;
@@ -50,7 +49,7 @@ class ExAuth
         */
        public function __construct()
        {
-               $this->bDebug = (int) Config::get('jabber', 'debug');
+               $this->bDebug = (int) DI::config()->get('jabber', 'debug');
 
                openlog('auth_ejabberd', LOG_PID, LOG_USER);
 
@@ -305,7 +304,7 @@ class ExAuth
 
                $this->host = $host;
 
-               $lockpath = Config::get('jabber', 'lockpath');
+               $lockpath = DI::config()->get('jabber', 'lockpath');
                if (is_null($lockpath)) {
                        $this->writeLog(LOG_INFO, 'No lockpath defined.');
                        return;