aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2018-03-09 00:33:40 -0500
committerUnknwon <u@gogs.io>2018-03-09 00:33:40 -0500
commit86d249eb16bfaa4199379aadfd64bdae72f91fea (patch)
tree6f6f7637912570221e39086daf94b021b2b2d4b9
parent28f74cf1c67cde80ae453a799d76752114fd5e18 (diff)
migrations: remove unused function and fix compile error
-rw-r--r--gogs.go2
-rw-r--r--models/migrations/migrations.go7
-rw-r--r--templates/.VERSION2
3 files changed, 2 insertions, 9 deletions
diff --git a/gogs.go b/gogs.go
index d763b8f0..3ad70549 100644
--- a/gogs.go
+++ b/gogs.go
@@ -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
diff --git a/models/migrations/migrations.go b/models/migrations/migrations.go
index ef8a4e6d..06747d38 100644
--- a/models/migrations/migrations.go
+++ b/models/migrations/migrations.go
@@ -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"`
diff --git a/templates/.VERSION b/templates/.VERSION
index 129c3211..501183ae 100644
--- a/templates/.VERSION
+++ b/templates/.VERSION
@@ -1 +1 @@
-0.11.36.0308 \ No newline at end of file
+0.11.37.0309 \ No newline at end of file