]> git.mxchange.org Git - friendica.git/commitdiff
Fix wrong variable name in Worker\Notifier
authorHypolite Petovan <hypolite@mrpetovan.com>
Sat, 23 Mar 2019 04:05:47 +0000 (00:05 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sat, 23 Mar 2019 04:05:47 +0000 (00:05 -0400)
src/Worker/Notifier.php

index baae33f7e0f3d8f2015e7756e582957005a00660..dac3346f95a6adef8d93f10f51185adddf0bf97c 100644 (file)
@@ -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]);
        }
 
        /**