Commit 0ed47554 authored by helmo's avatar helmo

Match Drush 8

parent b62f1a09
......@@ -84,6 +84,7 @@ function install_main() {
// We have an existing settings.php.
switch (substr(drush_core_version(), 0, 1)) {
case '8':
case '7':
$sql = drush_get_class('Drush\Sql\Sql', array(), array(drush_drupal_major_version()));
$db_spec = $sql->get_db_spec();
......
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