aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}