function power_menu_update_7202 in Power Menu 7.2
Fix all Power Menu field bundle names for users updated to 7.x-2.0-beta2 before.
File
- ./
power_menu.install, line 193 - just containing the stuff for install and uninstall
Code
function power_menu_update_7202() {
// Update saved entities with new bundle names
db_query("UPDATE power_menu_fields SET menu_name = REPLACE(menu_name,'-', '_')");
}