Skip to content

Commit

Permalink
Another forumSearch cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
lenguyenthanh committed Jun 21, 2024
1 parent cb437e6 commit 335ae05
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 1 addition & 5 deletions modules/forumSearch/src/main/Env.scala
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@ import lila.search.spec.Query
@Module
private class ForumSearchConfig(@ConfigName("paginator.max_per_page") val maxPerPage: MaxPerPage)

final class Env(
appConfig: Configuration,
postApi: lila.core.forum.ForumPostApi,
client: SearchClient
)(using Executor):
final class Env(appConfig: Configuration, client: SearchClient)(using Executor):

private val config = appConfig.get[ForumSearchConfig]("forumSearch")(AutoConfig.loader)

Expand Down
1 change: 0 additions & 1 deletion modules/forumSearch/src/main/package.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package lila.forumSearch

export lila.core.lilaism.Lilaism.{ *, given }
export lila.common.extensions.*

private val logger = lila.log("forumSearch")

Expand Down

0 comments on commit 335ae05

Please sign in to comment.