mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-10 09:09:02 +00:00
18 lines
382 B
Go
18 lines
382 B
Go
|
// Copyright 2024 The Forgejo Authors. All rights reserved.
|
||
|
// SPDX-License-Identifier: MIT
|
||
|
|
||
|
package setting
|
||
|
|
||
|
// Quota settings
|
||
|
var Quota = struct {
|
||
|
Enabled bool `ini:"ENABLED"`
|
||
|
DefaultGroups []string `ini:"DEFAULT_GROUPS"`
|
||
|
}{
|
||
|
Enabled: false,
|
||
|
DefaultGroups: []string{},
|
||
|
}
|
||
|
|
||
|
func loadQuotaFrom(rootCfg ConfigProvider) {
|
||
|
mustMapSetting(rootCfg, "quota", &Quota)
|
||
|
}
|