mirror of
https://github.com/friendica/friendica
synced 2025-04-28 03:50:17 +00:00
Move Worker task RemoveContact to Contact\Remove
This commit is contained in:
parent
efe0e45170
commit
fc2175260f
4 changed files with 49 additions and 81 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue