Remove unused vars (#1063)

* remove unused vars

* remove unused comment
tokarchuk/v1.17
Lunny Xiao 8 years ago committed by GitHub
parent 32faec00e6
commit e4134debd1
  1. 7
      models/branches.go

@ -10,14 +10,9 @@ import (
"time" "time"
) )
// Protected metadata
const ( const (
// Protected User ID // ProtectedBranchRepoID protected Repo ID
ProtectedBranchUserID = "GITEA_USER_ID"
// Protected Repo ID
ProtectedBranchRepoID = "GITEA_REPO_ID" ProtectedBranchRepoID = "GITEA_REPO_ID"
// Protected access mode
ProtectedBranchAccessMode = "GITEA_ACCESS_MODE"
) )
// ProtectedBranch struct // ProtectedBranch struct

Loading…
Cancel
Save