mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Enable packages by default again (as described by docs) (#19746)
This commit is contained in:
		@@ -295,7 +295,7 @@ func newRepository() {
 | 
			
		||||
		log.Fatal("Failed to map Repository.PullRequest settings: %v", err)
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if !Cfg.Section("packages").Key("ENABLED").MustBool(false) {
 | 
			
		||||
	if !Cfg.Section("packages").Key("ENABLED").MustBool(true) {
 | 
			
		||||
		Repository.DisabledRepoUnits = append(Repository.DisabledRepoUnits, "repo.packages")
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user