Commit 9a59cf76 authored by webchick's avatar webchick

#444778 by haffmans: Allow non-default database connections in installation profiles.

parent 2671e98d
......@@ -365,7 +365,7 @@ function _install_settings_form_validate($database, $settings_file, &$form_state
}
$class = "DatabaseInstaller_$driver";
$test = new $class;
$databases = array('default' => array('default' => $database));
$databases['default']['default'] = $database;
$return = $test->test();
if (!$return || $test->error) {
if (!empty($test->success)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment