mirror of
https://github.com/friendica/friendica
synced 2025-04-28 03:50:17 +00:00
Don't add contacts when not needed
This commit is contained in:
parent
6c2d13403e
commit
73b82d1455
6 changed files with 51 additions and 18 deletions
|
@ -9,7 +9,7 @@ use Friendica\Core\Logger;
|
|||
use Friendica\Core\Protocol;
|
||||
use Friendica\Core\Worker;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\Model\Contact;
|
||||
use Friendica\Model\GContact;
|
||||
use Friendica\Model\GServer;
|
||||
use Friendica\Util\DateTimeFormat;
|
||||
use Friendica\Util\Strings;
|
||||
|
@ -53,7 +53,7 @@ class UpdateGContacts
|
|||
continue;
|
||||
}
|
||||
|
||||
$server_url = Contact::getBasepath($contact['url']);
|
||||
$server_url = GContact::getBasepath($contact['url'], true);
|
||||
$force_update = false;
|
||||
|
||||
if (!empty($contact['server_url'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue