Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Sep 1, 2015
1 parent 10aa3ce commit 01dea78
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
8 changes: 0 additions & 8 deletions modules/gameSearch/src/main/Env.scala
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,11 @@ final class Env(
makeClient: Index => ESClient) {

private val IndexName = config getString "index"
private val TypeName = config getString "type"
private val PaginatorMaxPerPage = config getInt "paginator.max_per_page"
private val IndexerName = config getString "indexer.name"
private val ActorName = config getString "actor.name"

private val client = makeClient(Index(IndexName))

// private val indexer: ActorRef = system.actorOf(Props(new Indexer(
// client = client,
// indexName = IndexName,
// typeName = TypeName
// )), name = IndexerName)

private def converter(ids: Seq[String]) =
$find.byOrderedIds[lila.game.Game](ids)

Expand Down
2 changes: 0 additions & 2 deletions modules/teamSearch/src/main/Env.scala
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ final class Env(
system: ActorSystem) {

private val IndexName = config getString "index"
private val TypeName = config getString "type"
private val PaginatorMaxPerPage = config getInt "paginator.max_per_page"
private val IndexerName = config getString "indexer.name"
private val ActorName = config getString "actor.name"

private val client = makeClient(Index(IndexName))
Expand Down

0 comments on commit 01dea78

Please sign in to comment.