Removed a worker call - this needs more work

This commit is contained in:
Michael 2019-04-08 21:35:00 +00:00
parent a25fd7713b
commit a2ca14def4

View File

@ -1255,11 +1255,6 @@ class Contact extends BaseObject
$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) {
return $contact_id;
}