Support registry rebuild with drush cc.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 919762-2_drush_cc_rebuild.patch | 716 bytes | alex_b |
| #1 | 919762-1_drush_cc_rebuild.patch | 1.52 KB | alex_b |
Support registry rebuild with drush cc.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 919762-2_drush_cc_rebuild.patch | 716 bytes | alex_b |
| #1 | 919762-1_drush_cc_rebuild.patch | 1.52 KB | alex_b |
Comments
Comment #1
alex_b commentedI 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.
Comment #2
alex_b commentedDisregard #1 - an older patch slipped in.
Comment #3
adrian commentedin 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
Comment #4
moshe weitzman commentedbased on adrian's comment, maybe we should use registry_update() instead. rebuilding module table is a bit slow.
Comment #5
moshe weitzman commentedcommitted with registry_update().