]> source.dussan.org Git - gitea.git/commitdiff
Fix #92
authorUnknown <joe2010xtmf@163.com>
Tue, 22 Apr 2014 07:41:47 +0000 (03:41 -0400)
committerUnknown <joe2010xtmf@163.com>
Tue, 22 Apr 2014 07:41:47 +0000 (03:41 -0400)
gogs.go
modules/base/base_redis.go
routers/repo/release.go

diff --git a/gogs.go b/gogs.go
index 73555adab7a41835ec107e59c4ff4f1c7c67a42e..b06c80064c7b390af6d29af5553fb31c619ba4d4 100644 (file)
--- a/gogs.go
+++ b/gogs.go
@@ -19,7 +19,7 @@ import (
 // Test that go1.2 tag above is included in builds. main.go refers to this definition.
 const go12tag = true
 
-const APP_VER = "0.3.0.0421 Alpha"
+const APP_VER = "0.3.0.0422 Alpha"
 
 func init() {
        base.AppVer = APP_VER
index 327af8415b923496461c2c993bd00b9559ba8e16..42430df77414394ce2bd9693b9b15be2e11a8fee 100644 (file)
@@ -4,6 +4,7 @@ package base
 
 import (
        _ "github.com/gogits/cache/redis"
+       _ "github.com/gogits/session/redis"
 )
 
 func init() {
index a4baa4792ca5ac4919427812bd57f9ce43a35cfe..b386bac804b9e8013e99f6905f76f0668a31e862 100644 (file)
@@ -87,7 +87,6 @@ func Releases(ctx *middleware.Context) {
                                return
                        }
                        tags.rels[i].NumCommitsBehind = commitsCount - tags.rels[i].NumCommits
-                       tags.rels[i].Created = commit.Author.When
                }
        }