Merge branch 'master' of github.com:gogits/gogs into develop

pull/4224/head^2
Unknwon 2017-02-28 05:34:51 -05:00
commit b0169ba064
No known key found for this signature in database
GPG Key ID: 25B575AE3213B2B3
1 changed files with 0 additions and 1 deletions

View File

@ -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 {