mirror of
https://github.com/go-gitea/gitea
synced 2025-01-18 13:44:27 +00:00
Enable packages by default again (as described by docs) (#19746)
This commit is contained in:
parent
9da3d78e74
commit
3b359b1629
@ -295,7 +295,7 @@ func newRepository() {
|
|||||||
log.Fatal("Failed to map Repository.PullRequest settings: %v", err)
|
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")
|
Repository.DisabledRepoUnits = append(Repository.DisabledRepoUnits, "repo.packages")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user