migrations: remove unused function and fix compile error

pull/4913/head
Unknwon 2018-03-09 00:33:40 -05:00
parent 28f74cf1c6
commit 86d249eb16
No known key found for this signature in database
GPG Key ID: 25B575AE3213B2B3
3 changed files with 2 additions and 9 deletions

View File

@ -16,7 +16,7 @@ import (
"github.com/gogits/gogs/pkg/setting"
)
const APP_VER = "0.11.36.0308"
const APP_VER = "0.11.37.0309"
func init() {
setting.AppVer = APP_VER

View File

@ -133,13 +133,6 @@ In case you're stilling getting this notice, go through instructions again until
return nil
}
func sessionRelease(sess *xorm.Session) {
if !sess.IsCommitedOrRollbacked {
sess.Rollback()
}
sess.Close()
}
func generateOrgRandsAndSalt(x *xorm.Engine) (err error) {
type User struct {
ID int64 `xorm:"pk autoincr"`

View File

@ -1 +1 @@
0.11.36.0308
0.11.37.0309