mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 10:10:49 -04:00
Fix MariaDB/MySQL version check
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
This commit is contained in:
parent
474fae352d
commit
10081802f6
1 changed files with 1 additions and 1 deletions
|
|
@ -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']));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue