Details
- 
    Type:Bug 
- 
    Status: Done/Fixed
- 
    Priority:Minor 
- 
    Resolution: Fixed/Completed
- 
    Affects Version/s: 4.7.14
- 
    Fix Version/s: 4.7.23
- 
    Component/s: Drupal Integration Modules
- 
    Labels:
- 
        Versioning Impact:Patch (backwards-compatible bug fixes)
- 
        Documentation Required?:None
- 
        Funding Source:Needs Funding
- 
        Verified?:No
Description
Found by MarkDQ
The drush command drush civicrm-disable-debug returns error The drush command 'civicrm-disable-debug' could not be found. Run 'drush cache-clear drush' to clear the commandfile cache if you have installed new extensions.
More information at http://civicrm.stackexchange.com/questions/17061/drush-cannot-disable-civicrm-debug .
Solution by Jon G.
The `civicrm-disable-debug` command isn't defined in `civicrm_drush_command()`. See line 155:
    $items['civicrm-enable-debug'] = array(
      'description' => "Enable CiviCRM Debugging.",
    );
To solve this problem, you can add this below that:
    $items['civicrm-disable-debug'] = array(
      'description' => "Disable CiviCRM Debugging.",
    );
This would be an easy item to submit as a pull request so everyone could benefit.
Attachments
Issue Links
- links to