Hello,

It seems that Drush Module Manager doesn't rebuild the menu structure after enabling/disabling a module ? I'm using 6.x-1.1 and when I enable a module, the menu items are not available until I visit the Modules page (or any other page that rebuild menus).

From previous experience I know that cache_clear_all does not rebuild the menu cache ; you have to explicitly call menu_rebuild (see http://api.drupal.org/api/function/menu_rebuild/6 ).

Thanks :)

CommentFileSizeAuthor
#1 drush_mm.patch500 bytesAlice Heaton

Comments

Alice Heaton’s picture

StatusFileSize
new500 bytes

Patch fixes the problem by calling drupal_flush_all_cache ; which does rebuild menu, as well as flush all the caches (apart from some of the caches such as the form cache, as you can't tell wether this is currently in use).

clemens.tolboom’s picture

Version: 6.x-1.1 » 6.x-1.x-dev
Status: Active » Fixed
clemens.tolboom’s picture

Assigned: Unassigned » clemens.tolboom

Status: Fixed » Closed (fixed)

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