From 327cce0f3ef0f63dfc242a02f9886a8238be7ab8 Mon Sep 17 00:00:00 2001 From: Krzysztof Grabania Date: Tue, 13 Aug 2024 13:37:52 +0200 Subject: [PATCH] fix: fix missing triggers --- src/Repository/TriggerRepository.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Repository/TriggerRepository.php b/src/Repository/TriggerRepository.php index 1151dcc..fcdf725 100644 --- a/src/Repository/TriggerRepository.php +++ b/src/Repository/TriggerRepository.php @@ -21,10 +21,6 @@ class TriggerRepository */ public static function register() { - if (! \Notification::settings()->getSetting('triggers/buddypress/enable')) { - return; - } - // Activity. if (\Notification::settings()->getSetting('triggers/buddypress/activity_enable')) { Register::trigger(new Trigger\Activity\Added());