From f76c1b28c9c457cc1e0822c8da15e52171af472d Mon Sep 17 00:00:00 2001 From: Josh Date: Wed, 2 Jul 2025 12:58:29 -0400 Subject: [PATCH] fix(files_reminders): Don't load if disabled for user Signed-off-by: Josh --- .../lib/Listener/LoadAdditionalScriptsListener.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/files_reminders/lib/Listener/LoadAdditionalScriptsListener.php b/apps/files_reminders/lib/Listener/LoadAdditionalScriptsListener.php index 13bf670f401ba..765bf1e3ce29e 100644 --- a/apps/files_reminders/lib/Listener/LoadAdditionalScriptsListener.php +++ b/apps/files_reminders/lib/Listener/LoadAdditionalScriptsListener.php @@ -30,7 +30,9 @@ public function handle(Event $event): void { return; } - if (!$this->appManager->isEnabledForUser('notifications')) { + if (!$this->appManager->isEnabledForUser(Application::APP_ID) + || !$this->appManager->isEnabledForUser('notifications') + ) { return; }