1
0
Fork 0

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

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);
}
}
/**