summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordelvh <leon@kske.dev>2022-05-20 02:48:42 +0200
committerGitHub <noreply@github.com>2022-05-20 02:48:42 +0200
commit3b359b1629c3b6ae35c64c750fa66b9bd4f5d223 (patch)
tree77a7debdeb8794f9123fa410e929a67e84ac8278
parent9da3d78e74d6c8f363799dc2157540ea005ea102 (diff)
downloadgitea-3b359b1629c3b6ae35c64c750fa66b9bd4f5d223.tar.gz
gitea-3b359b1629c3b6ae35c64c750fa66b9bd4f5d223.zip
Enable packages by default again (as described by docs) (#19746)
-rw-r--r--modules/setting/repository.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/setting/repository.go b/modules/setting/repository.go
index f24bc841d6..bae4ad1be9 100644
--- a/modules/setting/repository.go
+++ b/modules/setting/repository.go
@@ -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")
}