1
0
Fork 0

Use central function to fetch the global directory

This commit is contained in:
Michael 2022-04-26 18:33:58 +00:00
commit 171354181d
13 changed files with 24 additions and 14 deletions

View file

@ -104,7 +104,7 @@ class Search
*/
public static function getContactsFromGlobalDirectory($search, $type = self::TYPE_ALL, $page = 1)
{
$server = DI::config()->get('system', 'directory', self::DEFAULT_DIRECTORY);
$server = self::getGlobalDirectory();
$searchUrl = $server . '/search';