fix #1112
This commit is contained in:
parent
eb0f0710f0
commit
35be8741c4
2
gogs.go
2
gogs.go
|
@ -17,7 +17,7 @@ import (
|
||||||
"github.com/gogits/gogs/modules/setting"
|
"github.com/gogits/gogs/modules/setting"
|
||||||
)
|
)
|
||||||
|
|
||||||
const APP_VER = "0.6.1.0709 Beta"
|
const APP_VER = "0.6.1.0710 Beta"
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
runtime.GOMAXPROCS(runtime.NumCPU())
|
runtime.GOMAXPROCS(runtime.NumCPU())
|
||||||
|
|
|
@ -853,6 +853,7 @@ func Comment(ctx *middleware.Context) {
|
||||||
RepoID: ctx.Repo.Repository.Id,
|
RepoID: ctx.Repo.Repository.Id,
|
||||||
RepoUserName: ctx.Repo.Owner.LowerName,
|
RepoUserName: ctx.Repo.Owner.LowerName,
|
||||||
RepoName: ctx.Repo.Repository.LowerName,
|
RepoName: ctx.Repo.Repository.LowerName,
|
||||||
|
IsPrivate: ctx.Repo.Repository.IsPrivate,
|
||||||
}
|
}
|
||||||
if err = models.NotifyWatchers(act); err != nil {
|
if err = models.NotifyWatchers(act); err != nil {
|
||||||
send(500, nil, err)
|
send(500, nil, err)
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
0.6.1.0709 Beta
|
0.6.1.0710 Beta
|
Loading…
Reference in New Issue