Fix wrong variable name in Worker\Notifier
This commit is contained in:
parent
fab01ed0d3
commit
66df8d6bc6
1 changed files with 1 additions and 1 deletions
|
@ -550,7 +550,7 @@ class Notifier
|
||||||
*/
|
*/
|
||||||
private static function isRemovalActivity($cmd, $owner, $network)
|
private static function isRemovalActivity($cmd, $owner, $network)
|
||||||
{
|
{
|
||||||
return ($cmd == Delivery::DELETION) && $owner['account_removed'] && in_array($contact['network'], [Protocol::ACTIVITYPUB, Protocol::DIASPORA]);
|
return ($cmd == Delivery::DELETION) && $owner['account_removed'] && in_array($network, [Protocol::ACTIVITYPUB, Protocol::DIASPORA]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue