fix #1930
This commit is contained in:
		
					parent
					
						
							
								020fb43b77
							
						
					
				
			
			
				commit
				
					
						10427b2178
					
				
			
		
					 4 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -5,7 +5,7 @@ Gogs - Go Git Service [
 | 
			
		||||
 | 
			
		||||
##### Current version: 0.7.5 Beta
 | 
			
		||||
##### Current version: 0.7.6 Beta
 | 
			
		||||
 | 
			
		||||
<table>
 | 
			
		||||
    <tr>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								gogs.go
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								gogs.go
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -17,7 +17,7 @@ import (
 | 
			
		|||
	"github.com/gogits/gogs/modules/setting"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
const APP_VER = "0.7.5.1111 Beta"
 | 
			
		||||
const APP_VER = "0.7.6.1112 Beta"
 | 
			
		||||
 | 
			
		||||
func init() {
 | 
			
		||||
	runtime.GOMAXPROCS(runtime.NumCPU())
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -49,5 +49,5 @@ func DeleteNotice(ctx *middleware.Context) {
 | 
			
		|||
	}
 | 
			
		||||
	log.Trace("System notice deleted by admin(%s): %d", ctx.User.Name, id)
 | 
			
		||||
	ctx.Flash.Success(ctx.Tr("admin.notices.delete_success"))
 | 
			
		||||
	ctx.Redirect("/admin/notices")
 | 
			
		||||
	ctx.Redirect(setting.AppSubUrl + "/admin/notices")
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1 +1 @@
 | 
			
		|||
0.7.5.1111 Beta
 | 
			
		||||
0.7.6.1112 Beta
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue