Use central function to fetch the global directory
This commit is contained in:
parent
478ee7b6fc
commit
171354181d
13 changed files with 24 additions and 14 deletions
|
@ -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';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue