#278458 reported by j0hn-smith, patch by pwolanin: the menu cache was not cleared properly in menu_link_maintain()