mirror of
https://github.com/gogs/gogs.git
synced 2025-12-20 15:20:01 +01:00
migrations: remove unused function and fix compile error
This commit is contained in:
2
gogs.go
2
gogs.go
@@ -16,7 +16,7 @@ import (
|
|||||||
"github.com/gogits/gogs/pkg/setting"
|
"github.com/gogits/gogs/pkg/setting"
|
||||||
)
|
)
|
||||||
|
|
||||||
const APP_VER = "0.11.36.0308"
|
const APP_VER = "0.11.37.0309"
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
setting.AppVer = APP_VER
|
setting.AppVer = APP_VER
|
||||||
|
|||||||
@@ -133,13 +133,6 @@ In case you're stilling getting this notice, go through instructions again until
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func sessionRelease(sess *xorm.Session) {
|
|
||||||
if !sess.IsCommitedOrRollbacked {
|
|
||||||
sess.Rollback()
|
|
||||||
}
|
|
||||||
sess.Close()
|
|
||||||
}
|
|
||||||
|
|
||||||
func generateOrgRandsAndSalt(x *xorm.Engine) (err error) {
|
func generateOrgRandsAndSalt(x *xorm.Engine) (err error) {
|
||||||
type User struct {
|
type User struct {
|
||||||
ID int64 `xorm:"pk autoincr"`
|
ID int64 `xorm:"pk autoincr"`
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
0.11.36.0308
|
0.11.37.0309
|
||||||
Reference in New Issue
Block a user