aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2025-04-07 11:55:57 +0200
committerGitHub <noreply@github.com>2025-04-07 11:55:57 +0200
commit599164a05a4700bc56f42ed8e410418f4bdb53af (patch)
treeeb7a50e395c5942fc3bc0aa7fb19390d7aea1247
parent441c9342a1d90ac133011dab7e37a58bbab2d671 (diff)
downloadnextcloud-server-backport/51944/stable29.tar.gz
nextcloud-server-backport/51944/stable29.zip
chore: adjust syntax for app managerbackport/51944/stable29
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
-rw-r--r--apps/files_reminders/lib/SetupChecks/NeedNotificationsApp.php2
1 files changed, 1 insertions, 1 deletions
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.'));