Skip to content

Commit

Permalink
Fix wrong variable name in Worker\Notifier
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPetovan committed Mar 23, 2019
1 parent fab01ed commit 66df8d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Worker/Notifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ function_exists('imap_open')
*/
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]);
}

/**
Expand Down

0 comments on commit 66df8d6

Please sign in to comment.