Skip to content

Commit

Permalink
Delete unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshinorin committed Dec 11, 2017
1 parent 97c0ed0 commit 926c264
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 32 deletions.
5 changes: 0 additions & 5 deletions src/main/scala/Plugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import io.github.gitbucket.solidbase.model.Version
import gitbucket.core.controller.Context
import gitbucket.core.plugin._
import gitbucket.core.service.RepositoryService.RepositoryInfo
import gitbucket.codesearch.controllers.CodeSearchController

class Plugin extends gitbucket.core.plugin.Plugin {
override val pluginId: String = "codesearch"
Expand All @@ -13,8 +12,4 @@ class Plugin extends gitbucket.core.plugin.Plugin {
override val repositoryMenus = Seq(
(repository: RepositoryInfo, context: Context) => Some(Link("Code search", "Code search", "/search?type=code&q=&type=files", Some("search")))
)

override val controllers = Seq(
"/*" -> new CodeSearchController
)
}

This file was deleted.

20 changes: 0 additions & 20 deletions src/main/twirl/gitbucket/codeSearch/main.scala.html

This file was deleted.

0 comments on commit 926c264

Please sign in to comment.