BUG Revert incorrect class rename (#5765)

This commit is contained in:
Damian Mooyman 2016-07-04 16:32:45 +12:00 committed by Sam Minnée
parent ff846134f2
commit 4a22c2bd78

View File

@ -6,7 +6,8 @@ $frameworkPath = defined('FRAMEWORK_PATH') ? FRAMEWORK_PATH : FRAMEWORK_NAME;
// Use MySQLi as default
DatabaseAdapterRegistry::register(
array(
'class' => 'SilverStripe\\ORM\\Connect\\MySQLDatabase',
/** @skipUpgrade */
'class' => 'MySQLDatabase',
'title' => 'MySQL 5.0+ (using MySQLi)',
'helperPath' => $frameworkPath . '/dev/install/MySQLDatabaseConfigurationHelper.php',
'supported' => class_exists('MySQLi'),
@ -19,6 +20,7 @@ DatabaseAdapterRegistry::register(
// Setup MySQL PDO as alternate option
DatabaseAdapterRegistry::register(
array(
/** @skipUpgrade */
'class' => 'MySQLPDODatabase',
'title' => 'MySQL 5.0+ (using PDO)',
'helperPath' => $frameworkPath . '/dev/install/MySQLDatabaseConfigurationHelper.php',