aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2025-04-07 11:58:29 +0200
committerGitHub <noreply@github.com>2025-04-07 11:58:29 +0200
commit9dcbd76cedb6ee7f84f7a7e494dd10b9217b88c3 (patch)
tree77b6e61d297a2fcbd0f6e3b1228803ce8065fffe
parent330b14b82acae9fe03ba0e44489dd7c91681101d (diff)
downloadnextcloud-server-backport/51944/stable31.tar.gz
nextcloud-server-backport/51944/stable31.zip
chore: adjust syntax for app managerbackport/51944/stable31
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.'));