Details
-
Type: Task
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.5
-
Fix Version/s: 4.5.5
-
Component/s: Drupal Integration Modules
-
Labels:
-
Documentation Required?:None
Description
The civicrm drush command to install civicrm is not compatible with drush v7 (current mastet)
The function _drush_sql_get_db_spec(); is removed in drush 7.
Possible patch approach could be
- $db_spec = _drush_sql_get_db_spec();
+ if (version_compare(DRUSH_VERSION, 7, '>=')) { + $sql = drush_sql_get_class(); + $db_spec = $sql->db_spec(); + }+ else
{ + $db_spec = _drush_sql_get_db_spec(); + }+
Attachments
Issue Links
- supplements
-
CRM-15567 Fix drush civicrm_sql* functionality for drush version >= 6
- Done/Fixed
- links to