summaryrefslogtreecommitdiffstats
path: root/app/security_update_check.go
diff options
context:
space:
mode:
authorChris <ccbrown112@gmail.com>2017-11-23 08:44:19 -0600
committerJoram Wilander <jwawilander@gmail.com>2017-11-23 09:44:19 -0500
commitbbb301b7de636c211df8aa5b304e543d4d136637 (patch)
tree615ae9e890538ddd2a22cccdb6f6cda45195462f /app/security_update_check.go
parent1ccf093803bcc342e25f269c40b02f83be50b341 (diff)
downloadchat-bbb301b7de636c211df8aa5b304e543d4d136637.tar.gz
chat-bbb301b7de636c211df8aa5b304e543d4d136637.tar.bz2
chat-bbb301b7de636c211df8aa5b304e543d4d136637.zip
send-mail refactor (#7885)
Diffstat (limited to 'app/security_update_check.go')
-rw-r--r--app/security_update_check.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/security_update_check.go b/app/security_update_check.go
index bac558c8c..dc26e59b2 100644
--- a/app/security_update_check.go
+++ b/app/security_update_check.go
@@ -106,7 +106,7 @@ func (a *App) DoSecurityUpdateCheck() {
for _, user := range users {
l4g.Info(utils.T("mattermost.send_bulletin.info"), bulletin.Id, user.Email)
- utils.SendMail(user.Email, utils.T("mattermost.bulletin.subject"), string(body))
+ a.SendMail(user.Email, utils.T("mattermost.bulletin.subject"), string(body))
}
}