mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-03 21:08:25 +00:00 
			
		
		
		
	Delete the useless code (#1335)
This commit is contained in:
		@@ -544,10 +544,6 @@ func NewContext() {
 | 
			
		||||
 | 
			
		||||
	Cfg = ini.Empty()
 | 
			
		||||
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		log.Fatal(4, "Failed to parse 'app.ini': %v", err)
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	CustomPath = os.Getenv("GITEA_CUSTOM")
 | 
			
		||||
	if len(CustomPath) == 0 {
 | 
			
		||||
		// For backward compatibility
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user