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…
Reference in a new issue