Commit 41a44f19 by Tuukka Kivilahti

let's not leave comments

1 parent 9a7f45de
...@@ -441,16 +441,7 @@ public class BootstrapBean implements BootstrapBeanLocal { ...@@ -441,16 +441,7 @@ public class BootstrapBean implements BootstrapBeanLocal {
dbUpdates.add(new String[]{ dbUpdates.add(new String[]{
"ALTER TABLE account_events DROP COLUMN delivered_count;" "ALTER TABLE account_events DROP COLUMN delivered_count;"
}); });
/*
dbUpdates.add(new String[] {
"ALTER TABLE menuitem ADD COLUMN angularpage BOOLEAN NOT NULL DEFAULT false;"
});
dbUpdates.add(new String[] {
"ALTER TABLE menuitem DROP COLUMN angularpage;"
}); */
} }
public BootstrapBean() { public BootstrapBean() {
...@@ -527,16 +518,6 @@ public class BootstrapBean implements BootstrapBeanLocal { ...@@ -527,16 +518,6 @@ public class BootstrapBean implements BootstrapBeanLocal {
dbModelFacade.create(dBm); dbModelFacade.create(dBm);
} }
} }
// We will never run this again with empty database
// public void saneDefaults() {
// User adminUser = userFacade.findByLogin("admin");
// if (adminUser == null) {
// adminUser = new User();
// adminUser.setLogin("admin");
// // adminUser.setSuperadmin(true);
// adminUser.resetPassword("admin");
// userFacade.create(adminUser);
// }
// }
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!