From 5486d0a1b1461a673432016cb100e56b20bcc911 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Mon, 7 Apr 2025 11:56:56 +0200 Subject: 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.')); -- cgit v1.2.3