remove dead code

This commit is contained in:
Thibault Duplessis 2016-02-04 18:29:55 +07:00
parent def4c2417c
commit 3ad322f635
2 changed files with 1 additions and 25 deletions

View file

@ -163,30 +163,6 @@ object Setup extends LilaController with TheftPrevention {
)
}
def join(id: String) = Open { implicit ctx =>
OptionFuResult(GameRepo game id) { game =>
???
}
}
// def await(fullId: String, userId: Option[String]) = Open { implicit ctx =>
// OptionFuResult(GameRepo pov fullId) { pov =>
// pov.game.started.fold(
// Redirect(routes.Round.player(pov.fullId)).fuccess,
// Env.api.roundApi.player(pov, lila.api.Mobile.Api.currentVersion) zip
// (userId ?? UserRepo.named) flatMap {
// case (data, user) => PreventTheft(pov) {
// Ok(html.setup.await(
// pov,
// data,
// env.friendConfigMemo get pov.game.id,
// user)).fuccess
// }
// }
// )
// }
// }
def validateFen = Open { implicit ctx =>
get("fen") flatMap ValidFen(getBool("strict")) match {
case None => BadRequest.fuccess

View file

@ -9,7 +9,7 @@ net {
ip = "5.196.91.160"
asset {
domain = ${net.domain}
version = 833
version = 834
}
}
play {