mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
simplify names
This commit is contained in:
@@ -15,7 +15,7 @@ import (
|
||||
|
||||
var c = cron.New()
|
||||
|
||||
func NewCronContext() {
|
||||
func NewContext() {
|
||||
var (
|
||||
entry *cron.Entry
|
||||
err error
|
||||
|
@@ -94,7 +94,7 @@ func init() {
|
||||
}
|
||||
}
|
||||
|
||||
func LoadModelsConfig() {
|
||||
func LoadConfigs() {
|
||||
sec := setting.Cfg.Section("database")
|
||||
DbCfg.Type = sec.Key("DB_TYPE").String()
|
||||
switch DbCfg.Type {
|
||||
|
Reference in New Issue
Block a user