浏览代码

Remove unused vars (#1063)

* remove unused vars

* remove unused comment
tags/v1.1.0
Lunny Xiao 7 年前
父节点
当前提交
e4134debd1
共有 1 个文件被更改,包括 1 次插入6 次删除
  1. 1
    6
      models/branches.go

+ 1
- 6
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

正在加载...
取消
保存