Unknwon 9 年之前
父節點
當前提交
35be8741c4
共有 3 個文件被更改,包括 3 次插入2 次删除
  1. 1 1
      gogs.go
  2. 1 0
      routers/repo/issue.go
  3. 1 1
      templates/.VERSION

+ 1 - 1
gogs.go

@@ -17,7 +17,7 @@ import (
 	"github.com/gogits/gogs/modules/setting"
 )
 
-const APP_VER = "0.6.1.0709 Beta"
+const APP_VER = "0.6.1.0710 Beta"
 
 func init() {
 	runtime.GOMAXPROCS(runtime.NumCPU())

+ 1 - 0
routers/repo/issue.go

@@ -853,6 +853,7 @@ func Comment(ctx *middleware.Context) {
 		RepoID:       ctx.Repo.Repository.Id,
 		RepoUserName: ctx.Repo.Owner.LowerName,
 		RepoName:     ctx.Repo.Repository.LowerName,
+		IsPrivate:    ctx.Repo.Repository.IsPrivate,
 	}
 	if err = models.NotifyWatchers(act); err != nil {
 		send(500, nil, err)

+ 1 - 1
templates/.VERSION

@@ -1 +1 @@
-0.6.1.0709 Beta
+0.6.1.0710 Beta