mirror of
https://github.com/friendica/friendica
synced 2025-04-28 03:10:11 +00:00
Rework contact termination to separate protocol-level and contact-level
- Mail and Feed contacts are now removed automatically on relationship termination - Added logging and notice messages for different results
This commit is contained in:
parent
6cba99f9c9
commit
797391e1d8
7 changed files with 162 additions and 99 deletions
|
@ -703,7 +703,7 @@ class Notifier
|
|||
}
|
||||
|
||||
while($contact = DBA::fetch($contacts_stmt)) {
|
||||
Contact::terminateFriendship($owner, $contact, true);
|
||||
Protocol::terminateFriendship($owner, $contact, true);
|
||||
}
|
||||
DBA::close($contacts_stmt);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue