Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2020-04-22 09:15:31 +0300
committerGitHub <noreply@github.com>2020-04-22 09:15:31 +0300
commit15788b1605361e83049ceb54f86d7c9af39d3b75 (patch)
treebdfca6e879b44c0d437130f6aaa2878cdd805fde
parent9eea27efcdbd85588d395093cbc51604d92bdaf0 (diff)
parent10081802f6fb60e67f95a6142d0dbe86145268f4 (diff)
Merge pull request #20590 from J0WI/fix-mysql-setup
[stable16] Fix MariaDB/MySQL version check
-rw-r--r--lib/private/Setup/MySQL.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Setup/MySQL.php b/lib/private/Setup/MySQL.php
index 0d180796986..5c0e0c84f8c 100644
--- a/lib/private/Setup/MySQL.php
+++ b/lib/private/Setup/MySQL.php
@@ -49,7 +49,7 @@ class MySQL extends AbstractDatabase {
if (version_compare($version, '10.4', '>=')) {
throw new DatabaseSetupException(sprintf('Unsupported MariaDB version %s, Nextcloud 16 requires a version lower than 10.4', $row['Value']));
}
- } {
+ } else {
if (version_compare($version, '8', '>=')) {
throw new DatabaseSetupException(sprintf('Unsupported MySQL version %s, Nextcloud 16 requires a version lower than 8.0', $row['Value']));
}