Commit a369ce85 by Tuomas Riihimäki

Whoops. menu_navigation does not get cleaned up because of extra space in sql wh…

…ich causes the bootstrap to fail.
1 parent d83e9d33
...@@ -350,7 +350,7 @@ public class BootstrapBean implements BootstrapBeanLocal { ...@@ -350,7 +350,7 @@ public class BootstrapBean implements BootstrapBeanLocal {
private static void deleteMenu(String menupath) { private static void deleteMenu(String menupath) {
dbUpdates.add(new String[] { dbUpdates.add(new String[] {
"delete from menu_navigation where item_id in (select id from menuitem where url in ( ' " + menupath + "'))", "delete from menu_navigation where item_id in (select id from menuitem where url in ( '" + menupath + "'))",
"delete from menuitem where url in ('" + menupath + "')", "delete from menuitem where url in ('" + menupath + "')",
}); });
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!