Removed a worker call - this needs more work
This commit is contained in:
parent
a25fd7713b
commit
a2ca14def4
|
@ -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 New Issue
Block a user