X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWorker%2FNotifier.php;h=dac3346f95a6adef8d93f10f51185adddf0bf97c;hb=8eba329111e832d7efdacf4f6a6fa85b0f7abbf3;hp=baae33f7e0f3d8f2015e7756e582957005a00660;hpb=4aa28de89ec9dd0e27b37dbde9b8758c5bb6c4b4;p=friendica.git diff --git a/src/Worker/Notifier.php b/src/Worker/Notifier.php index baae33f7e0..dac3346f95 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]); } /**