From e4134debd12ef7e244f712c39adee52667207009 Mon Sep 17 00:00:00 2001
From: Lunny Xiao <xiaolunwen@gmail.com>
Date: Mon, 27 Feb 2017 09:22:15 +0800
Subject: [PATCH] Remove unused vars (#1063)

* remove unused vars

* remove unused comment
---
 models/branches.go | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/models/branches.go b/models/branches.go
index a02ff1b8bbe..89a699603ba 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