aboutsummaryrefslogtreecommitdiffstats
path: root/modules/setting/repository.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/setting/repository.go')
-rw-r--r--modules/setting/repository.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/setting/repository.go b/modules/setting/repository.go
index 1796a8d6b5..3e63d458f8 100644
--- a/modules/setting/repository.go
+++ b/modules/setting/repository.go
@@ -42,6 +42,7 @@ var (
DisabledRepoUnits []string
DefaultRepoUnits []string
PrefixArchiveFiles bool
+ DisableMirrors bool
// Repository editor settings
Editor struct {
@@ -142,6 +143,7 @@ var (
DisabledRepoUnits: []string{},
DefaultRepoUnits: []string{},
PrefixArchiveFiles: true,
+ DisableMirrors: false,
// Repository editor settings
Editor: struct {