The attached patch moves the call to menu_get_menu() into the if-block as it is not needed if the active menu item is just retrieved and if it is cached.

CommentFileSizeAuthor
menu.inc_6.patch575 byteskkaefer
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

JonBob’s picture

Priority: Normal » Minor
Status: Needs review » Reviewed & tested by the community

Looks fine.

killes@www.drop.org’s picture

Status: Reviewed & tested by the community » Fixed

applied

Anonymous’s picture

Status: Fixed » Closed (fixed)