Don't add contacts when not needed

This commit is contained in:
Michael 2020-01-01 17:54:36 +00:00
parent 6c2d13403e
commit 73b82d1455
6 changed files with 51 additions and 18 deletions

View file

@ -44,7 +44,7 @@ class GServer
public static function reachable(string $profile, string $server = '', string $network = '', bool $force = false)
{
if ($server == '') {
$server = Contact::getBasepath($profile);
$server = GContact::getBasepath($profile);
}
if ($server == '') {