diff options
Diffstat (limited to 'routers/install.go')
-rw-r--r-- | routers/install.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/install.go b/routers/install.go index f4df031186..c5d7972153 100644 --- a/routers/install.go +++ b/routers/install.go @@ -45,6 +45,7 @@ func checkRunMode() { func NewServices() { setting.NewServices() + mailer.NewContext() social.NewOauthService() } @@ -53,7 +54,6 @@ func GlobalInit() { setting.NewContext() log.Trace("Custom path: %s", setting.CustomPath) log.Trace("Log path: %s", setting.LogRootPath) - mailer.NewContext() models.LoadConfigs() NewServices() |