From 9dcbd76cedb6ee7f84f7a7e494dd10b9217b88c3 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Mon, 7 Apr 2025 11:58:29 +0200 Subject: [PATCH] chore: adjust syntax for app manager Signed-off-by: Ferdinand Thiessen --- apps/files_reminders/lib/SetupChecks/NeedNotificationsApp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files_reminders/lib/SetupChecks/NeedNotificationsApp.php b/apps/files_reminders/lib/SetupChecks/NeedNotificationsApp.php index 1dc7d652c67..ab37aea8e60 100644 --- a/apps/files_reminders/lib/SetupChecks/NeedNotificationsApp.php +++ b/apps/files_reminders/lib/SetupChecks/NeedNotificationsApp.php @@ -30,7 +30,7 @@ class NeedNotificationsApp implements ISetupCheck { } public function run(): SetupResult { - if ($this->appManager->isEnabledForAnyone('notifications')) { + if ($this->appManager->isInstalled('notifications')) { return SetupResult::success($this->l10n->t('This files_reminder can work properly.')); } else { return SetupResult::warning($this->l10n->t('The files_reminder app needs the notification app to work properly. You should either enable notifications or disable files_reminder.'));