When clearing the theme registry, Drush directly clears records from the cache database table, instead of using the cache clearing API. This results in a failure to clear alternative caches such as memcache when the command is called. drupal_theme_rebuild() clears the registry correctly.

CommentFileSizeAuthor
#1 drush-theme-rebuild-1704678-1.patch634 bytesjrbeeman
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jrbeeman’s picture

Status: Active » Needs review
FileSize
634 bytes

The attached patch addresses this issue by calling drupal_theme_rebuild() if Drupal is at least version 7.

jonhattan’s picture

Status: Needs review » Fixed

Committed. Thanks!

Status: Fixed » Closed (fixed)

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