summaryrefslogtreecommitdiff
path: root/http.go
diff options
context:
space:
mode:
Diffstat (limited to 'http.go')
-rw-r--r--http.go13
1 files changed, 0 insertions, 13 deletions
diff --git a/http.go b/http.go
index 9717d88..dc8ec14 100644
--- a/http.go
+++ b/http.go
@@ -28,7 +28,6 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
repoName := r.URL.Query().Get("repo")
version := r.URL.Query().Get("version")
comment := r.URL.Query().Get("comment")
- whitelist := r.URL.Query().Get("whitelist")
switch route {
case "/help":
@@ -89,18 +88,6 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
setCurrentRepo(repo, "HTTP", "doRelease() ?")
return
- case "/whitelist":
- repo := me.repos.View.FindByName(repoName)
- if repo == nil {
- log.Info("FindRepoByName() returned nil")
- return
- }
- log.Info("whitelisted " + repo.Name())
- if whitelist == "false" {
- repo.Status.Whitelist = false
- } else {
- repo.Status.Whitelist = true
- }
case "/testNext":
testNext()
return