aboutsummaryrefslogtreecommitdiffstats
path: root/modules/structs/settings.go
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2021-02-20 11:17:51 +0100
committerGitHub <noreply@github.com>2021-02-20 11:17:51 +0100
commit190bd0accd3788c91605bd7092a46a3c778a21fd (patch)
tree87a20029408dd60416aac5f1375cef9f87951c04 /modules/structs/settings.go
parentdb07aedd32d777b1f422f0bb810c73ecc6e44336 (diff)
downloadgitea-190bd0accd3788c91605bd7092a46a3c778a21fd.tar.gz
gitea-190bd0accd3788c91605bd7092a46a3c778a21fd.zip
Export LFS & TimeTracking function status (#14753)
Diffstat (limited to 'modules/structs/settings.go')
-rw-r--r--modules/structs/settings.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/structs/settings.go b/modules/structs/settings.go
index 5fd916affe..e15c750356 100644
--- a/modules/structs/settings.go
+++ b/modules/structs/settings.go
@@ -6,9 +6,11 @@ package structs
// GeneralRepoSettings contains global repository settings exposed by API
type GeneralRepoSettings struct {
- MirrorsDisabled bool `json:"mirrors_disabled"`
- HTTPGitDisabled bool `json:"http_git_disabled"`
- MigrationsDisabled bool `json:"migrations_disabled"`
+ MirrorsDisabled bool `json:"mirrors_disabled"`
+ HTTPGitDisabled bool `json:"http_git_disabled"`
+ MigrationsDisabled bool `json:"migrations_disabled"`
+ TimeTrackingDisabled bool `json:"time_tracking_disabled"`
+ LFSDisabled bool `json:"lfs_disabled"`
}
// GeneralUISettings contains global ui settings exposed by API