Fix casing of MySQLPlatform class name
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
This commit is contained in:
parent
5a8f15e167
commit
eeac11a687
|
@ -29,7 +29,7 @@ namespace OCA\Settings\SetupChecks;
|
|||
use Doctrine\DBAL\Platforms\MariaDb1027Platform;
|
||||
use Doctrine\DBAL\Platforms\MySQL57Platform;
|
||||
use Doctrine\DBAL\Platforms\MySQL80Platform;
|
||||
use Doctrine\DBAL\Platforms\MySqlPlatform;
|
||||
use Doctrine\DBAL\Platforms\MySQLPlatform;
|
||||
use Doctrine\DBAL\Platforms\OraclePlatform;
|
||||
use Doctrine\DBAL\Platforms\PostgreSQL100Platform;
|
||||
use Doctrine\DBAL\Platforms\PostgreSQL94Platform;
|
||||
|
@ -61,7 +61,7 @@ class SupportedDatabase {
|
|||
case MySQL80Platform::class: # extends MySQL57Platform
|
||||
case MySQL57Platform::class: # extends MySQLPlatform
|
||||
case MariaDb1027Platform::class: # extends MySQLPlatform
|
||||
case MySqlPlatform::class:
|
||||
case MySQLPlatform::class:
|
||||
$result = $this->connection->prepare('SHOW VARIABLES LIKE "version";');
|
||||
$result->execute();
|
||||
$row = $result->fetch();
|
||||
|
|
Loading…
Reference in New Issue