--- a/src/main/scala/net/tz/lift/boot/ProtoBoot.scala Mon Apr 02 00:06:52 2012 +0200
+++ b/src/main/scala/net/tz/lift/boot/ProtoBoot.scala Mon Apr 02 00:48:43 2012 +0200
@@ -1,5 +1,5 @@
/*
- * Copyright 2011 Tomas Zeman <tzeman@volny.cz>
+ * Copyright 2011-2012 Tomas Zeman <tzeman@volny.cz>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -17,7 +17,6 @@
import net.liftweb.common._
import net.liftweb.http._
-import net.liftweb.mapper._
import net.liftweb.sitemap._
import net.liftweb.sitemap.Loc._
import net.liftweb.util._
@@ -31,15 +30,6 @@
class ProtoBoot extends Logger {
def boot: Unit = {
- /* DB stuff */
- /*
- S.addAround(DB.buildLoanWrapper())
- */
-
- if (Props.mode == Props.RunModes.Development)
- DB.addLogFunc { (dbLog, l) => dbLog.statementEntries.foreach { e =>
- debug("Query: " + e.statement)
- }}
/* Date format */
LiftRules.dateTimeConverter.default.set { () => YmdDateTimeConverter }
@@ -64,12 +54,6 @@
/* Sitemap */
SiteMap.enforceUniqueLinks = false
- /*
- LiftRules.setSiteMap(SiteMap(
- Menu.i("Home") / "index" >> Hidden
- ))
- */
-
/* Menu widget */
MenuWidget.init()