diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2017-02-27 09:22:15 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-27 09:22:15 +0800 |
commit | e4134debd12ef7e244f712c39adee52667207009 (patch) | |
tree | 82cb90932cbf4b33f87131cb96745db5221c0362 /models/branches.go | |
parent | 32faec00e63511907780def0b539fc5eacb7a168 (diff) | |
download | gitea-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.go | 7 |
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 |