mirror of
https://github.com/gogs/gogs.git
synced 2026-01-29 18:49:17 +01:00
Merge branch 'master' of github.com:gogits/gogs into develop
This commit is contained in:
@@ -125,7 +125,6 @@ func UpdateProtectBranch(protectBranch *ProtectBranch) (err error) {
|
||||
if _, err = sess.Insert(protectBranch); err != nil {
|
||||
return fmt.Errorf("Insert: %v", err)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
if _, err = sess.Id(protectBranch.ID).AllCols().Update(protectBranch); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user