aboutsummaryrefslogtreecommitdiffstats
path: root/modules/setting/mailer.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/setting/mailer.go')
-rw-r--r--modules/setting/mailer.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/setting/mailer.go b/modules/setting/mailer.go
index 5da520171e..8a26f8b0c4 100644
--- a/modules/setting/mailer.go
+++ b/modules/setting/mailer.go
@@ -43,10 +43,8 @@ type Mailer struct {
SendmailConvertCRLF bool
}
-var (
- // MailService the global mailer
- MailService *Mailer
-)
+// MailService the global mailer
+var MailService *Mailer
func newMailService() {
sec := Cfg.Section("mailer")