mirror of
https://github.com/friendica/friendica
synced 2025-04-21 14:30:12 +00:00
Refactor dynamic App::getConfig() to static DI::config()
This commit is contained in:
parent
2bb9e46be3
commit
fceb4f3823
21 changed files with 38 additions and 66 deletions
|
@ -35,7 +35,7 @@ class BaseSearchModule extends BaseModule
|
|||
public static function performContactSearch($search, $prefix = '')
|
||||
{
|
||||
$a = DI::app();
|
||||
$config = $a->getConfig();
|
||||
$config = DI::config();
|
||||
|
||||
$type = Search::TYPE_ALL;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue