Browse Source

Remove unused vars (#1063)

* remove unused vars

* remove unused comment
tags/v1.2.0-rc1
Lunny Xiao GitHub 9 years ago
parent
commit
f4e94039b7
1 changed files with 1 additions and 6 deletions
  1. +1
    -6
      models/branches.go

+ 1
- 6
models/branches.go View File

@@ -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


Loading…
Cancel
Save