Some cleanup for archiving/unarchiving contacts
This commit is contained in:
@@ -151,11 +151,8 @@ class OStatus
|
||||
|
||||
// Only update the contacts if it is an OStatus contact
|
||||
if ($r && ($r['id'] > 0) && !$onlyfetch && ($contact["network"] == NETWORK_OSTATUS)) {
|
||||
// This contact is vital, so we awake it from the dead
|
||||
Contact::unmarkForArchival($contact);
|
||||
|
||||
// Update contact data
|
||||
|
||||
$current = $contact;
|
||||
unset($current['name-date']);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user