mirror of
https://github.com/friendica/friendica
synced 2024-11-15 09:19:28 +01:00
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']);
|
||||
if ($blocked) {
|
||||
Protocol::block($contact);
|
||||
Protocol::block($contact, $uid);
|
||||
} else {
|
||||
Protocol::unblock($contact);
|
||||
Protocol::unblock($contact, $uid);
|
||||
}
|
||||
|
||||
if ($cdata['user'] != 0) {
|
||||
|
|
Loading…
Reference in a new issue