From ac1367a28607f2f10a1f665838f2e60845062dbf Mon Sep 17 00:00:00 2001 From: =Corey Hulen Date: Mon, 12 Oct 2015 10:57:39 -0700 Subject: Removing offical build check --- mattermost.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mattermost.go') diff --git a/mattermost.go b/mattermost.go index b8a44d26e..d2a0567f4 100644 --- a/mattermost.go +++ b/mattermost.go @@ -81,7 +81,7 @@ func main() { func securityAndDiagnosticsJob() { go func() { for { - if *utils.Cfg.ServiceSettings.EnableSecurityFixAlert { // && model.IsOfficalBuild() { + if *utils.Cfg.ServiceSettings.EnableSecurityFixAlert { if result := <-api.Srv.Store.System().Get(); result.Err == nil { props := result.Data.(model.StringMap) lastSecurityTime, _ := strconv.ParseInt(props["LastSecurityTime"], 10, 0) -- cgit v1.2.3-1-g7c22