You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
case MySQL80Platform::class: # extends MySQL57Platform
63
61
case MySQL57Platform::class: # extends MySQLPlatform
@@ -70,13 +68,11 @@ public function check() {
70
68
71
69
if (str_contains($version, 'mariadb')) {
72
70
if (version_compare($version, '10.2', '<')) {
73
-
$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']);
74
-
return;
71
+
returnnewSetupResult(SetupResult::WARNING, $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']));
75
72
}
76
73
} else {
77
74
if (version_compare($version, '8', '<')) {
78
-
$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']);
79
-
return;
75
+
returnnewSetupResult(SetupResult::WARNING, $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']));
80
76
}
81
77
}
82
78
break;
@@ -88,26 +84,13 @@ public function check() {
88
84
$result->execute();
89
85
$row = $result->fetch();
90
86
if (version_compare($row['server_version'], '9.6', '<')) {
91
-
$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']);
92
-
return;
87
+
returnnewSetupResult(SetupResult::WARNING, $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']));
0 commit comments