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:
authorJ0WI <J0WI@users.noreply.github.com>2020-04-21 23:29:24 +0300
committerJ0WI <J0WI@users.noreply.github.com>2020-04-21 23:37:36 +0300
commit10081802f6fb60e67f95a6142d0dbe86145268f4 (patch)
treef74ac8f2944963f0065ff0862e9acfee473143db
parent474fae352dadd76cb05d3456b56d392e5bd478d0 (diff)
Fix MariaDB/MySQL version check
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
-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']));
}