mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-07 05:55:51 +01:00
(refs #8)Remove unused code.
This commit is contained in:
@@ -57,15 +57,6 @@ trait RepositorySettingsControllerBase extends ControllerBase with FlashMapSuppo
|
|||||||
settings.html.collaborators(getCollaborators(repository.owner, repository.name), repository)
|
settings.html.collaborators(getCollaborators(repository.owner, repository.name), repository)
|
||||||
})
|
})
|
||||||
|
|
||||||
// /**
|
|
||||||
// * JSON API for collaborator completion.
|
|
||||||
// */
|
|
||||||
// // TODO Merge with UserManagementController
|
|
||||||
// get("/:owner/:repository/settings/collaborators/proposals")(usersOnly {
|
|
||||||
// contentType = formats("json")
|
|
||||||
// org.json4s.jackson.Serialization.write(Map("options" -> getAllUsers.filter(!_.isGroupAccount).map(_.userName).toArray))
|
|
||||||
// })
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add the collaborator.
|
* Add the collaborator.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -126,13 +126,4 @@ trait UserManagementControllerBase extends AccountManagementControllerBase {
|
|||||||
} getOrElse NotFound
|
} getOrElse NotFound
|
||||||
})
|
})
|
||||||
|
|
||||||
// /**
|
|
||||||
// * JSON API for collaborator completion.
|
|
||||||
// */
|
|
||||||
// // TODO Merge with RepositorySettingsController
|
|
||||||
// get("/admin/users/_members"){
|
|
||||||
// contentType = formats("json")
|
|
||||||
// org.json4s.jackson.Serialization.write(Map("options" -> getAllUsers.filter(!_.isGroupAccount).map(_.userName).toArray))
|
|
||||||
// }
|
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user