mirror of
https://github.com/nextcloud/server.git
synced 2026-04-29 01:50:33 -04:00
chore: adjust syntax for app manager
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
parent
1ab680ae69
commit
5486d0a1b1
1 changed files with 1 additions and 1 deletions
|
|
@ -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.'));
|
||||
|
|
|
|||
Loading…
Reference in a new issue