Remove unused function.

This commit is contained in:
Gordon Martin 2016-09-04 17:01:45 +01:00
parent 16ad0d1522
commit f158e2f063

View file

@ -53,13 +53,6 @@ private[simul] final class SimulApi(
} inject simul
}
def fetchVisibleSimuls : Fu[List[Simul]] = {
repo.allCreated zip repo.allStarted zip repo.allFinished(5) map {
case ((created,started),finished) =>
created ::: started ::: finished
}
}
def addApplicant(simulId: Simul.ID, user: User, variantKey: String) {
WithSimul(repo.findCreated, simulId) { simul =>
if (simul.nbAccepted >= Game.maxPlayingRealtime) simul