Refactor dynamic App::getConfig() to static DI::config()
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user