diff options
author | Unknwon <u@gogs.io> | 2015-09-16 23:08:46 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-09-16 23:08:46 -0400 |
commit | e75fd2f783a413ae612e3e6110c912b3ecf9555d (patch) | |
tree | 969e7fc034c60db60695780b75815bbba17db7e8 /routers/install.go | |
parent | a517cfdf7b24514d7c1f6695dc175ce18c832465 (diff) | |
download | gitea-e75fd2f783a413ae612e3e6110c912b3ecf9555d.tar.gz gitea-e75fd2f783a413ae612e3e6110c912b3ecf9555d.zip |
simplify names
Diffstat (limited to 'routers/install.go')
-rw-r--r-- | routers/install.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/routers/install.go b/routers/install.go index b6ac99cd7a..f4df031186 100644 --- a/routers/install.go +++ b/routers/install.go @@ -50,11 +50,11 @@ func NewServices() { // GlobalInit is for global configuration reload-able. func GlobalInit() { - setting.NewConfigContext() + setting.NewContext() log.Trace("Custom path: %s", setting.CustomPath) log.Trace("Log path: %s", setting.LogRootPath) - mailer.NewMailerContext() - models.LoadModelsConfig() + mailer.NewContext() + models.LoadConfigs() NewServices() if setting.InstallLock { @@ -66,7 +66,7 @@ func GlobalInit() { } models.HasEngine = true - cron.NewCronContext() + cron.NewContext() models.InitDeliverHooks() log.NewGitLogger(path.Join(setting.LogRootPath, "http.log")) } |