mirror of
https://github.com/friendica/friendica
synced 2025-04-29 03:04:22 +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
|
@ -22,7 +22,7 @@ class SearchDirectory
|
|||
// <search pattern>: Searches for "search pattern" in the directory.
|
||||
public static function execute($search)
|
||||
{
|
||||
if (!Config::get('system', 'poco_local_search')) {
|
||||
if (!DI::config()->get('system', 'poco_local_search')) {
|
||||
Logger::info('Local search is not enabled');
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue