From 3ad322f63583ff547cc62bdc2fe6589afded7c45 Mon Sep 17 00:00:00 2001 From: Thibault Duplessis Date: Thu, 4 Feb 2016 18:29:55 +0700 Subject: [PATCH] remove dead code --- app/controllers/Setup.scala | 24 ------------------------ conf/base.conf | 2 +- 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/app/controllers/Setup.scala b/app/controllers/Setup.scala index 79cb90e6a1..a42cf334a2 100644 --- a/app/controllers/Setup.scala +++ b/app/controllers/Setup.scala @@ -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 diff --git a/conf/base.conf b/conf/base.conf index 6ed5830c92..81ed8575fc 100644 --- a/conf/base.conf +++ b/conf/base.conf @@ -9,7 +9,7 @@ net { ip = "5.196.91.160" asset { domain = ${net.domain} - version = 833 + version = 834 } } play {