mirror of
https://github.com/friendica/friendica
synced 2024-11-09 23:42:53 +00:00
Removed a worker call - this needs more work
This commit is contained in:
parent
a25fd7713b
commit
a2ca14def4
1 changed files with 0 additions and 5 deletions
|
@ -1255,11 +1255,6 @@ class Contact extends BaseObject
|
||||||
$update_contact = true;
|
$update_contact = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update the contact in the background if needed
|
|
||||||
if ($update_contact && $no_update) {
|
|
||||||
Worker::add(PRIORITY_LOW, "UpdateContact", $contact_id);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!$update_contact || $no_update) {
|
if (!$update_contact || $no_update) {
|
||||||
return $contact_id;
|
return $contact_id;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue