mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-01 11:06:06 +01:00
Remove unused code.
This commit is contained in:
@@ -37,18 +37,6 @@ trait WikiService {
|
||||
|
||||
import WikiService._
|
||||
|
||||
// /**
|
||||
// * Returns the directory of the wiki repository.
|
||||
// */
|
||||
// def getWikiRepositoryDir(owner: String, repository: String): File =
|
||||
// new File("%s/%s/%s.wiki.git".format(Directory.RepositoryHome, owner, repository))
|
||||
//
|
||||
// /**
|
||||
// * Returns the directory of the wiki working directory which is cloned from the wiki repository.
|
||||
// */
|
||||
// def getWikiWorkDir(owner: String, repository: String): File =
|
||||
// new File("%s/tmp/%s/%s.wiki".format(Directory.GitBucketHome, owner, repository))
|
||||
|
||||
// TODO synchronized?
|
||||
def createWikiRepository(owner: String, repository: String): Unit = {
|
||||
val dir = Directory.getWikiRepositoryDir(owner, repository)
|
||||
|
||||
Reference in New Issue
Block a user