mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-18 23:20:51 +00:00
16 lines
329 B
Go
16 lines
329 B
Go
|
// Copyright 2025 The Forgejo Authors. All rights reserved.
|
||
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||
|
|
||
|
package setting
|
||
|
|
||
|
// Moderation settings
|
||
|
var Moderation = struct {
|
||
|
Enabled bool `ini:"ENABLED"`
|
||
|
}{
|
||
|
Enabled: false,
|
||
|
}
|
||
|
|
||
|
func loadModerationFrom(rootCfg ConfigProvider) {
|
||
|
mustMapSetting(rootCfg, "moderation", &Moderation)
|
||
|
}
|