diff options
-rw-r--r-- | apps/dav/lib/Migration/Version1032Date20250701000000.php | 2 | ||||
-rw-r--r-- | apps/dav/lib/SetupChecks/SystemAddressBookSize.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/dav/lib/Migration/Version1032Date20250701000000.php b/apps/dav/lib/Migration/Version1032Date20250701000000.php index 479d4de832f..119486cc316 100644 --- a/apps/dav/lib/Migration/Version1032Date20250701000000.php +++ b/apps/dav/lib/Migration/Version1032Date20250701000000.php @@ -36,7 +36,7 @@ class Version1032Date20250701000000 extends SimpleMigrationStep { return; } // We use count seen because getting a user count from the backend can be very slow - $limit = $this->appConfig->getAppValueBool('system_addressbook_limit', 5000); + $limit = $this->appConfig->getAppValueInt('system_addressbook_limit', 5000); if ($this->userManager->countSeenUsers() <= $limit) { return; } diff --git a/apps/dav/lib/SetupChecks/SystemAddressBookSize.php b/apps/dav/lib/SetupChecks/SystemAddressBookSize.php index 8b37820e71b..320676a2786 100644 --- a/apps/dav/lib/SetupChecks/SystemAddressBookSize.php +++ b/apps/dav/lib/SetupChecks/SystemAddressBookSize.php @@ -42,9 +42,9 @@ class SystemAddressBookSize implements ISetupCheck { $limit = $this->appConfig->getValueInt(Application::APP_ID, 'system_addressbook_limit', 5000); if ($count > $limit) { - return SetupResult::warning($this->l10n->t('The system address book is enabled, but exceeded the maximum recommended number of contacts %d', $limit)); + return SetupResult::warning($this->l10n->t('The system address book is enabled, but exceeded the maximum recommended number of contacts %d', [$limit])); } else { - return SetupResult::success($this->l10n->t('The system address book is enabled and contains less then the maximum recommended number of contacts %d', $limit)); + return SetupResult::success($this->l10n->t('The system address book is enabled and contains less then the maximum recommended number of contacts %d', [$limit])); } } } |