diff options
author | Josh <josh.t.richards@gmail.com> | 2025-07-02 12:58:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-02 12:58:29 -0400 |
commit | fc6fb866d77447a3a5095f71396829b88e8f1a40 (patch) | |
tree | c988bd9d75561b238c8f2a553407d245ca27ea54 | |
parent | 2337bd84c2f420b1944c3c1f4739ac0cfea15ca4 (diff) | |
download | nextcloud-server-jtr-fix-files-reminders-disabled.tar.gz nextcloud-server-jtr-fix-files-reminders-disabled.zip |
fix(files_reminders): Don't load if disabled for userjtr-fix-files-reminders-disabled
Signed-off-by: Josh <josh.t.richards@gmail.com>
-rw-r--r-- | apps/files_reminders/lib/Listener/LoadAdditionalScriptsListener.php | 4 |
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; } |