summaryrefslogtreecommitdiffstats
path: root/models/branches.go
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2020-08-30 08:24:39 +0100
committerGitHub <noreply@github.com>2020-08-30 08:24:39 +0100
commitd257485bc0026c9717fe7bf4c9953ad1b7a1a9ae (patch)
tree701493ea83b4f416c5e7ea6ffd5a9dd291d44d03 /models/branches.go
parent17fbbe97d7b4fca45d112f924191600eff52957b (diff)
downloadgitea-d257485bc0026c9717fe7bf4c9953ad1b7a1a9ae.tar.gz
gitea-d257485bc0026c9717fe7bf4c9953ad1b7a1a9ae.zip
Rename models.ProtectedBranchRepoID to models.EnvRepoID and ensure EnvPusherEmail is set (#12646)
Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'models/branches.go')
-rw-r--r--models/branches.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/models/branches.go b/models/branches.go
index 38aa79d2dc..20988deed7 100644
--- a/models/branches.go
+++ b/models/branches.go
@@ -19,13 +19,6 @@ import (
"github.com/unknwon/com"
)
-const (
- // ProtectedBranchRepoID protected Repo ID
- ProtectedBranchRepoID = "GITEA_REPO_ID"
- // ProtectedBranchPRID protected Repo PR ID
- ProtectedBranchPRID = "GITEA_PR_ID"
-)
-
// ProtectedBranch struct
type ProtectedBranch struct {
ID int64 `xorm:"pk autoincr"`