mirror of
https://github.com/friendica/friendica
synced 2025-04-22 17:50:11 +00: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
|
@ -17,7 +17,7 @@ class UpdateServerDirectories
|
|||
*/
|
||||
public static function execute()
|
||||
{
|
||||
if (Config::get('system', 'poco_discovery') == PortableContact::DISABLED) {
|
||||
if (DI::config()->get('system', 'poco_discovery') == PortableContact::DISABLED) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -25,7 +25,7 @@ class UpdateServerDirectories
|
|||
GServer::discover();
|
||||
|
||||
// Query GNU Social servers for their users ("statistics" addon has to be enabled on the GS server)
|
||||
if (!Config::get('system', 'ostatus_disabled')) {
|
||||
if (!DI::config()->get('system', 'ostatus_disabled')) {
|
||||
GContact::discoverGsUsers();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue