aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-10-24 11:40:03 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-10-24 11:40:03 +0200
commit6b7d4b67d1d48104123a9e3d13d40b952333e67a (patch)
tree7fd6287748314eb19f6e742021eb9358e5b242f3 /apps/user_ldap
parent13a8a1793c3396e2ac0e92c15dd7deb04fd8aa36 (diff)
downloadnextcloud-server-6b7d4b67d1d48104123a9e3d13d40b952333e67a.tar.gz
nextcloud-server-6b7d4b67d1d48104123a9e3d13d40b952333e67a.zip
Improve setup checks naming and improve database version check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/user_ldap')
-rw-r--r--apps/user_ldap/lib/SetupChecks/LdapInvalidUuids.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/user_ldap/lib/SetupChecks/LdapInvalidUuids.php b/apps/user_ldap/lib/SetupChecks/LdapInvalidUuids.php
index d6de11d35b9..8b6bf859142 100644
--- a/apps/user_ldap/lib/SetupChecks/LdapInvalidUuids.php
+++ b/apps/user_ldap/lib/SetupChecks/LdapInvalidUuids.php
@@ -46,13 +46,13 @@ class LdapInvalidUuids implements ISetupCheck {
}
public function getName(): string {
- return $this->l10n->t('Checking for invalid LDAP UUIDs');
+ return $this->l10n->t('Invalid LDAP UUIDs');
}
public function run(): SetupResult {
if (count($this->userMapping->getList(0, 1, true)) === 0
&& count($this->groupMapping->getList(0, 1, true)) === 0) {
- return SetupResult::success();
+ return SetupResult::success($this->l10n->t('None found'));
} else {
return SetupResult::warning($this->l10n->t('Invalid UUIDs of LDAP users or groups have been found. Please review your "Override UUID detection" settings in the Expert part of the LDAP configuration and use "occ ldap:update-uuid" to update them.'));
}