mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-22 23:33:15 -05: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)
|
||
|
}
|