diff options
author | =Corey Hulen <corey@hulen.com> | 2015-10-12 10:57:39 -0700 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2015-10-12 10:57:39 -0700 |
commit | ac1367a28607f2f10a1f665838f2e60845062dbf (patch) | |
tree | 22e9c2d96f5997854c42da2849b3ad6166539f1b /mattermost.go | |
parent | 3c42ae312d037ce7e26a8df86355fcba12210a86 (diff) | |
download | chat-ac1367a28607f2f10a1f665838f2e60845062dbf.tar.gz chat-ac1367a28607f2f10a1f665838f2e60845062dbf.tar.bz2 chat-ac1367a28607f2f10a1f665838f2e60845062dbf.zip |
Removing offical build check
Diffstat (limited to 'mattermost.go')
-rw-r--r-- | mattermost.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) |