Browse Source

Remove unused vars (#1063)

* remove unused vars

* remove unused comment
Lunny Xiao 3 years ago
parent
commit
e4134debd1
1 changed files with 1 additions and 6 deletions
  1. 1 6
      models/branches.go

+ 1 - 6
models/branches.go

@@ -10,14 +10,9 @@ import (
10 10
 	"time"
11 11
 )
12 12
 
13
-// Protected metadata
14 13
 const (
15
-	// Protected User ID
16
-	ProtectedBranchUserID = "GITEA_USER_ID"
17
-	// Protected Repo ID
14
+	// ProtectedBranchRepoID protected Repo ID
18 15
 	ProtectedBranchRepoID = "GITEA_REPO_ID"
19
-	// Protected access mode
20
-	ProtectedBranchAccessMode = "GITEA_ACCESS_MODE"
21 16
 )
22 17
 
23 18
 // ProtectedBranch struct