remove unused functions
This commit is contained in:
parent
0c9f1d0143
commit
78f4fe4d83
|
@ -98,10 +98,6 @@ trait UserRepo {
|
|||
case None => $update($select(id), $unset("title"))
|
||||
}
|
||||
|
||||
def setEvaluated(id: ID, v: Boolean): Funit = $update.field(id, "evaluated", v)
|
||||
def isEvaluated(id: ID): Fu[Boolean] =
|
||||
$primitive.one($select(id), "evaluated")(_.asOpt[Boolean]) map (~_)
|
||||
|
||||
val enabledSelect = Json.obj("enabled" -> true)
|
||||
def engineSelect(v: Boolean) = Json.obj(User.BSONFields.engine -> v.fold(JsBoolean(true), $ne(true)))
|
||||
val stableSelect = Json.obj("perfs.global.gl.d" -> $lt(82))
|
||||
|
|
Loading…
Reference in a new issue