Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatov committed Jul 13, 2011
1 parent 3455d34 commit 3f29017
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/main/scala/scala/tools/colladoc/snippet/ProfileOps.scala
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,11 @@
package scala.tools.colladoc
package snippet

import model.mapper.{Properties, Comment, User}
import lib.util.Helpers._
import model.mapper.{Comment, User}
import lib.DependencyFactory._
import page.Profile
import xml.{NodeSeq, Text}
import net.liftweb.util.BindHelpers._
import net.liftweb.util.SecurityHelpers._
import net.liftweb.http.{SHtml, S, RequestVar}
import net.liftweb.mapper.By
import net.liftweb.widgets.gravatar.Gravatar
Expand All @@ -52,11 +50,6 @@ class ProfileOps {
def getUser = User.find(By(User.userName, username)).open_!

private def userForm(user: User): NodeSeq = {
val id = idAttrEncode(hash(user.userName))

var title = Properties.get("-doc-title").getOrElse("")
var version = Properties.get("-doc-version").getOrElse("")

def doSave(): JsCmd = {
user.validate match {
case Nil =>
Expand Down

0 comments on commit 3f29017

Please sign in to comment.