mirror of
https://github.com/friendica/friendica
synced 2025-05-05 23:44:15 +02:00
Move Config::get() to DI::config()->get()
This commit is contained in:
parent
5d294e8be8
commit
6c36fd9e01
126 changed files with 581 additions and 596 deletions
|
@ -50,7 +50,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 +305,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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue