simplify names

This commit is contained in:
Unknwon 2015-09-16 23:08:46 -04:00
parent a517cfdf7b
commit e75fd2f783
9 changed files with 240 additions and 234 deletions

View file

@ -15,7 +15,7 @@ import (
var c = cron.New()
func NewCronContext() {
func NewContext() {
var (
entry *cron.Entry
err error

View file

@ -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 {