Skip to content

Commit

Permalink
#919762 by alex_b: Changed drush cc - support registry_rebuild().
Browse files Browse the repository at this point in the history
  • Loading branch information
massgov-outsider committed Nov 14, 2010
1 parent 624d84d commit bfcc7eb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions commands/core/clear.cache.inc
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ function drush_cache_clear_types() {
'css+js' => 'drush_cache_clear_css_js',
'block' => 'drush_cache_clear_block',
);
if (drush_drupal_major_version() >= 7) {
$types['registry'] = 'registry_update';
}
if (count(module_implements('node_grants'))) {
$types['nodeaccess'] = 'node_access_rebuild';
}
Expand Down

0 comments on commit bfcc7eb

Please sign in to comment.