summaryrefslogtreecommitdiffstats
path: root/modules/setting
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-08-28 00:06:22 -0700
committerUnknwon <u@gogs.io>2016-08-28 00:06:22 -0700
commitdad5c155202a79514e60e73ac019191218167d35 (patch)
tree0a7e5d52657130a49ba78ac7f872ff26719cbcf4 /modules/setting
parent6e171c5225edc7969e979c7a9d736b7b1506b6d4 (diff)
downloadgitea-dad5c155202a79514e60e73ac019191218167d35.tar.gz
gitea-dad5c155202a79514e60e73ac019191218167d35.zip
#2901 allow setting preferred licenses
- Closes #3488
Diffstat (limited to 'modules/setting')
-rw-r--r--modules/setting/setting.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index 1128e08ed0..9673323b81 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -114,6 +114,7 @@ var (
ForcePrivate bool
MaxCreationLimit int
PullRequestQueueLength int
+ PreferredLicenses []string
// Repository editor settings
Editor struct {