mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	fix #1112
This commit is contained in:
		
							
								
								
									
										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 | ||||||
		Reference in New Issue
	
	Block a user