Skip to content

Commit ce78f54

Browse files
Merge pull request #53767 from nextcloud/jtr-fix-files-reminders-disabled
fix(files_reminders): Don't load if disabled for user
2 parents c9056af + fc6fb86 commit ce78f54

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

apps/files_reminders/lib/Listener/LoadAdditionalScriptsListener.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ public function handle(Event $event): void {
3030
return;
3131
}
3232

33-
if (!$this->appManager->isEnabledForUser('notifications')) {
33+
if (!$this->appManager->isEnabledForUser(Application::APP_ID)
34+
|| !$this->appManager->isEnabledForUser('notifications')
35+
) {
3436
return;
3537
}
3638

0 commit comments

Comments
 (0)