From 4be55b0b3a92364cd0a18d0e1c47605c283713ad Mon Sep 17 00:00:00 2001 From: buddh4 Date: Tue, 10 Oct 2017 13:42:42 +0200 Subject: [PATCH] Fix: Global target filter excluded --- .../modules/notification/components/NotificationManager.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/protected/humhub/modules/notification/components/NotificationManager.php b/protected/humhub/modules/notification/components/NotificationManager.php index 6b0e6ad47c..6e9ebb5381 100644 --- a/protected/humhub/modules/notification/components/NotificationManager.php +++ b/protected/humhub/modules/notification/components/NotificationManager.php @@ -124,10 +124,6 @@ class NotificationManager } } - if ($user === null) { - return $this->_targets; - } - $userTargets = []; foreach ($this->_targets as $target) { if ($target->isActive($user)) {