aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Scherzinger <info@andy-scherzinger.de>2025-07-07 21:02:29 +0200
committerGitHub <noreply@github.com>2025-07-07 21:02:29 +0200
commitce78f54ba3dc066e11d1bbfb88eab5be5f7b2539 (patch)
tree4f1aafb8c0249ff9d41fc0a02a27c279763f9581
parentc9056afb0806b5a2ca028bf6206c88ff06ffe09f (diff)
parentfc6fb866d77447a3a5095f71396829b88e8f1a40 (diff)
downloadnextcloud-server-ce78f54ba3dc066e11d1bbfb88eab5be5f7b2539.tar.gz
nextcloud-server-ce78f54ba3dc066e11d1bbfb88eab5be5f7b2539.zip
Merge pull request #53767 from nextcloud/jtr-fix-files-reminders-disabled
fix(files_reminders): Don't load if disabled for user
-rw-r--r--apps/files_reminders/lib/Listener/LoadAdditionalScriptsListener.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files_reminders/lib/Listener/LoadAdditionalScriptsListener.php b/apps/files_reminders/lib/Listener/LoadAdditionalScriptsListener.php
index 13bf670f401..765bf1e3ce2 100644
--- a/apps/files_reminders/lib/Listener/LoadAdditionalScriptsListener.php
+++ b/apps/files_reminders/lib/Listener/LoadAdditionalScriptsListener.php
@@ -30,7 +30,9 @@ class LoadAdditionalScriptsListener implements IEventListener {
return;
}
- if (!$this->appManager->isEnabledForUser('notifications')) {
+ if (!$this->appManager->isEnabledForUser(Application::APP_ID)
+ || !$this->appManager->isEnabledForUser('notifications')
+ ) {
return;
}