forked from GNUsocial/gnu-social
fubared a715271f84
- this is the fix
This commit is contained in:
parent
a715271f84
commit
2179aae758
@ -729,7 +729,7 @@ class LoseCommand extends Command
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$result = Subscription::cancel($this->other, $this->user);
|
$result = Subscription::cancel($this->getProfile($this->other), $this->user->getProfile());
|
||||||
|
|
||||||
if ($result) {
|
if ($result) {
|
||||||
$channel->output($this->user, sprintf(_('Unsubscribed %s'), $this->other));
|
$channel->output($this->user, sprintf(_('Unsubscribed %s'), $this->other));
|
||||||
|
Loading…
Reference in New Issue
Block a user