aboutsummaryrefslogtreecommitdiffstats
path: root/models/branches.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2017-02-27 09:22:15 +0800
committerGitHub <noreply@github.com>2017-02-27 09:22:15 +0800
commite4134debd12ef7e244f712c39adee52667207009 (patch)
tree82cb90932cbf4b33f87131cb96745db5221c0362 /models/branches.go
parent32faec00e63511907780def0b539fc5eacb7a168 (diff)
downloadgitea-e4134debd12ef7e244f712c39adee52667207009.tar.gz
gitea-e4134debd12ef7e244f712c39adee52667207009.zip
Remove unused vars (#1063)
* remove unused vars * remove unused comment
Diffstat (limited to 'models/branches.go')
-rw-r--r--models/branches.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/models/branches.go b/models/branches.go
index a02ff1b8bb..89a699603b 100644
--- a/models/branches.go
+++ b/models/branches.go
@@ -10,14 +10,9 @@ import (
"time"
)
-// Protected metadata
const (
- // Protected User ID
- ProtectedBranchUserID = "GITEA_USER_ID"
- // Protected Repo ID
+ // ProtectedBranchRepoID protected Repo ID
ProtectedBranchRepoID = "GITEA_REPO_ID"
- // Protected access mode
- ProtectedBranchAccessMode = "GITEA_ACCESS_MODE"
)
// ProtectedBranch struct