Skip to content

Commit

Permalink
Fix drush-ops#947: pick the correct site for cache-rebuild.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhattan committed Nov 7, 2014
1 parent ae40404 commit 331e965
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions commands/core/cache.drush.inc
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ function cache_drush_command() {
);
$items['cache-rebuild'] = array(
'description' => 'Rebuild a Drupal 8 site and clear all its caches.',
// rebuild.php only bootstraps to DRUPAL_BOOTSTRAP_CONFIGURATION, so we'll
// do the same
'options' => array(),
'arguments' => array(),
'bootstrap' => DRUSH_BOOTSTRAP_DRUPAL_ROOT,
// Bootstrap to DRUSH_BOOTSTAP_DRUPAL_SITE to pick the correct site.
// Further bootstrap is done by the rebuild script.
'bootstrap' => DRUSH_BOOTSTRAP_DRUPAL_SITE,
'core' => array('8+'),
'aliases' => array('cr', 'rebuild'),
);
Expand Down

0 comments on commit 331e965

Please sign in to comment.