mirror of
https://github.com/go-gitea/gitea
synced 2024-11-28 19:43:20 +01:00
Enable packages by default again (as described by docs) (#19746)
This commit is contained in:
parent
9da3d78e74
commit
3b359b1629
1 changed files with 1 additions and 1 deletions
|
@ -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