mirror of
https://github.com/flarum/core.git
synced 2025-08-06 16:36:47 +02:00
chore: lower unnecessary high req
This commit is contained in:
@@ -55,7 +55,7 @@ class ConnectToDatabase implements Step
|
|||||||
$version = $pdo->query('SELECT VERSION()')->fetchColumn();
|
$version = $pdo->query('SELECT VERSION()')->fetchColumn();
|
||||||
|
|
||||||
if (Str::contains($version, 'MariaDB')) {
|
if (Str::contains($version, 'MariaDB')) {
|
||||||
if (version_compare($version, '10.10.0', '<')) {
|
if (version_compare($version, '10.3.0', '<')) {
|
||||||
throw new RangeException("MariaDB version ($version) too low. You need at least MariaDB 10.10");
|
throw new RangeException("MariaDB version ($version) too low. You need at least MariaDB 10.10");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user