summaryrefslogtreecommitdiffstats
path: root/cmd/web.go
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-10-18 23:26:55 -0400
committerUnknwon <joe2010xtmf@163.com>2014-10-18 23:26:55 -0400
commit3abc41cccab2486012b46305827433ad6f5deade (patch)
tree91f34bbc2dcfe9266039aafdddbb6be45c7464f4 /cmd/web.go
parent9e3a1bc11af8ab95a4d6b47607a89207941a3119 (diff)
downloadgitea-3abc41cccab2486012b46305827433ad6f5deade.tar.gz
gitea-3abc41cccab2486012b46305827433ad6f5deade.zip
Fix API broken
Diffstat (limited to 'cmd/web.go')
-rw-r--r--cmd/web.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/web.go b/cmd/web.go
index 98a180a935..ec648af5b4 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -71,7 +71,7 @@ func checkVersion() {
log.Fatal(4, "Package i18n version is too old, did you forget to update?(github.com/macaron-contrib/i18n)")
}
sessionVer := git.MustParseVersion(session.Version())
- if sessionVer.LessThan(git.MustParseVersion("0.0.1")) {
+ if sessionVer.LessThan(git.MustParseVersion("0.0.3")) {
log.Fatal(4, "Package session version is too old, did you forget to update?(github.com/macaron-contrib/session)")
}
}