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:53 +0000 |
commit | f76c1b28c9c457cc1e0822c8da15e52171af472d (patch) | |
tree | 7b30210fb2692cc53d3eb57caf1d38346f57167f | |
parent | 0c59d041ce9f83548f8f164089553760a6493378 (diff) | |
download | nextcloud-server-backport/53767/stable31.tar.gz nextcloud-server-backport/53767/stable31.zip |
fix(files_reminders): Don't load if disabled for userbackport/53767/stable31
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; } |