Skip to content

Commit 599164a

Browse files
authored
chore: adjust syntax for app manager
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
1 parent 441c934 commit 599164a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/files_reminders/lib/SetupChecks/NeedNotificationsApp.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function getCategory(): string {
3030
}
3131

3232
public function run(): SetupResult {
33-
if ($this->appManager->isEnabledForAnyone('notifications')) {
33+
if ($this->appManager->isInstalled('notifications')) {
3434
return SetupResult::success($this->l10n->t('This files_reminder can work properly.'));
3535
} else {
3636
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.'));

0 commit comments

Comments
 (0)