mirror of
https://github.com/nextcloud/server.git
synced 2026-03-04 06:21:07 -05:00
Merge pull request #32439 from nextcloud/enh/noid/database-checks
adjust wording for database checks
This commit is contained in:
commit
0b184f6135
1 changed files with 3 additions and 3 deletions
|
|
@ -70,12 +70,12 @@ class SupportedDatabase {
|
|||
|
||||
if (strpos($version, 'mariadb') !== false) {
|
||||
if (version_compare($version, '10.2', '<')) {
|
||||
$this->description = $this->l10n->t('MariaDB version "%s" is used. Nextcloud 21 will no longer support this version and requires MariaDB 10.2 or higher.', $row['Value']);
|
||||
$this->description = $this->l10n->t('MariaDB version "%s" is used. Nextcloud 21 and higher do not support this version and require MariaDB 10.2 or higher.', $row['Value']);
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
if (version_compare($version, '8', '<')) {
|
||||
$this->description = $this->l10n->t('MySQL version "%s" is used. Nextcloud 21 will no longer support this version and requires MySQL 8.0 or MariaDB 10.2 or higher.', $row['Value']);
|
||||
$this->description = $this->l10n->t('MySQL version "%s" is used. Nextcloud 21 and higher do not support this version and require MySQL 8.0 or MariaDB 10.2 or higher.', $row['Value']);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
@ -88,7 +88,7 @@ class SupportedDatabase {
|
|||
$result->execute();
|
||||
$row = $result->fetch();
|
||||
if (version_compare($row['server_version'], '9.6', '<')) {
|
||||
$this->description = $this->l10n->t('PostgreSQL version "%s" is used. Nextcloud 21 will no longer support this version and requires PostgreSQL 9.6 or higher.', $row['server_version']);
|
||||
$this->description = $this->l10n->t('PostgreSQL version "%s" is used. Nextcloud 21 and higher do not support this version and require PostgreSQL 9.6 or higher.', $row['server_version']);
|
||||
return;
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue