i discovered this when playing around with a new module.

menus = menu-information-bewerbung

these menus were deleted but as it seems the content type itself still has the menu selected in
variable_get('menu_options_' . $type ..

so as it seems core does not update the variable 'menu_options_' . $type when a menu gets deleted

Comments

merilainen’s picture

Version: 7.9 » 7.x-dev

Same behavior continues in the latest dev-version, but is this an issue or does Drupal leave some other variables in the table also? I suppose the table shouldn't bloat, but if you need to delete the menu temporarily for some reason, then you don't lose the settings in content types if you give the same name for the new menu.

marcoka’s picture

Issue summary: View changes

broken img removed

Status: Active » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.