Support registry rebuild with drush cc.

Comments

alex_b’s picture

StatusFileSize
new1.52 KB

I am not sure whether drush cc is the right place for registry rebuild and whether we should make sure it is executed in a specific order in regards to other cache clear actions.

This is the most simple version of adding registry_rebuild() functionality I could come up with.

alex_b’s picture

StatusFileSize
new716 bytes

Disregard #1 - an older patch slipped in.

adrian’s picture

in d7 you need to use the registry rebuild in place of the module rebuild.

the first thing it does is rebuid the module table :

http://api.drupal.org/api/function/registry_rebuild/7

moshe weitzman’s picture

based on adrian's comment, maybe we should use registry_update() instead. rebuilding module table is a bit slow.

moshe weitzman’s picture

Status: Needs work » Fixed

committed with registry_update().

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.