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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user