From 66df8d6bc68a33173adf1a4979757984348acccb Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 23 Mar 2019 00:05:47 -0400 Subject: [PATCH] Fix wrong variable name in Worker\Notifier --- src/Worker/Notifier.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Worker/Notifier.php b/src/Worker/Notifier.php index baae33f7e..dac3346f9 100644 --- a/src/Worker/Notifier.php +++ b/src/Worker/Notifier.php @@ -550,7 +550,7 @@ class Notifier */ 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]); } /**