Add missing parameters to Contact::block/unblock
This commit is contained in:
parent
8f518af011
commit
479458a389
|
@ -148,9 +148,9 @@ class User
|
||||||
|
|
||||||
$contact = Contact::getById($cdata['public']);
|
$contact = Contact::getById($cdata['public']);
|
||||||
if ($blocked) {
|
if ($blocked) {
|
||||||
Protocol::block($contact);
|
Protocol::block($contact, $uid);
|
||||||
} else {
|
} else {
|
||||||
Protocol::unblock($contact);
|
Protocol::unblock($contact, $uid);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($cdata['user'] != 0) {
|
if ($cdata['user'] != 0) {
|
||||||
|
|
Loading…
Reference in a new issue