mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-01 23:29:12 +01: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)
|
||
|
}
|