1
0
Fork 0

Move Worker task RemoveContact to Contact\Remove

This commit is contained in:
Hypolite Petovan 2021-10-12 20:14:56 -04:00
commit fc2175260f
4 changed files with 49 additions and 81 deletions

View file

@ -34,7 +34,7 @@ class CheckDeletedContacts
{
$contacts = DBA::select('contact', ['id'], ['deleted' => true]);
while ($contact = DBA::fetch($contacts)) {
Worker::add(PRIORITY_MEDIUM, 'RemoveContact', $contact['id']);
Worker::add(PRIORITY_MEDIUM, 'Contact\Remove', $contact['id']);
}
DBA::close($contacts);
}