Stop automatically remove newly blocked contacts from their groups

This commit is contained in:
Hypolite Petovan 2019-12-24 16:45:08 -05:00
parent b610d4e82d
commit 6501acf0bc
1 changed files with 0 additions and 5 deletions

View File

@ -406,11 +406,6 @@ class Contact extends BaseObject
}
DBA::update('user-contact', ['blocked' => $blocked], ['cid' => $cdata['public'], 'uid' => $uid], true);
if ($blocked) {
// Blocked contact can't be in any group
self::removeFromGroups($cid);
}
}
/**