From e75fd2f783a413ae612e3e6110c912b3ecf9555d Mon Sep 17 00:00:00 2001 From: Unknwon Date: Wed, 16 Sep 2015 23:08:46 -0400 Subject: simplify names --- models/cron/cron.go | 2 +- models/models.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'models') diff --git a/models/cron/cron.go b/models/cron/cron.go index cbf980c050..8e494e5537 100644 --- a/models/cron/cron.go +++ b/models/cron/cron.go @@ -15,7 +15,7 @@ import ( var c = cron.New() -func NewCronContext() { +func NewContext() { var ( entry *cron.Entry err error diff --git a/models/models.go b/models/models.go index 5710930d0b..8149bb51b1 100644 --- a/models/models.go +++ b/models/models.go @@ -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 { -- cgit v1.2.3