diff options
author | Vincent Petry <vincent@nextcloud.com> | 2021-01-12 09:39:18 +0100 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2021-01-12 09:39:59 +0100 |
commit | eeac11a687a401daf18eddafffa4f533cb3554b9 (patch) | |
tree | 49984b5a000ee880926eb67d0e27a1b1a174de34 /apps/settings/lib | |
parent | 5a8f15e1677b10880193b9bb1cee00666f49d51c (diff) | |
download | nextcloud-server-eeac11a687a401daf18eddafffa4f533cb3554b9.tar.gz nextcloud-server-eeac11a687a401daf18eddafffa4f533cb3554b9.zip |
Fix casing of MySQLPlatform class name
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'apps/settings/lib')
-rw-r--r-- | apps/settings/lib/SetupChecks/SupportedDatabase.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings/lib/SetupChecks/SupportedDatabase.php b/apps/settings/lib/SetupChecks/SupportedDatabase.php index ac9138abfc6..11227fc236f 100644 --- a/apps/settings/lib/SetupChecks/SupportedDatabase.php +++ b/apps/settings/lib/SetupChecks/SupportedDatabase.php @@ -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(); |