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