Move Worker task RemoveContact to Contact\Remove

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

View file

@ -823,7 +823,7 @@ class Contact
self::update(['archive' => true, 'network' => Protocol::PHANTOM, 'deleted' => true], ['id' => $id]);
// Delete it in the background
Worker::add(PRIORITY_MEDIUM, 'RemoveContact', $id);
Worker::add(PRIORITY_MEDIUM, 'Contact\Remove', $id);
}
/**