diff options
author | Josh <josh.t.richards@gmail.com> | 2025-07-02 12:58:29 -0400 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2025-07-07 19:02:40 +0000 |
commit | d8c84530090f7f2ef43ff656f057f629d0687052 (patch) | |
tree | 4841b310c0dc57ac799027d6fbd9bfeafbb46bfd | |
parent | bf6fc6d6b615edac38e74fb7e757057e5e28eb5b (diff) | |
download | nextcloud-server-backport/53767/stable30.tar.gz nextcloud-server-backport/53767/stable30.zip |
fix(files_reminders): Don't load if disabled for userbackport/53767/stable30
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; } |