summaryrefslogtreecommitdiffstats
path: root/mattermost.go
diff options
context:
space:
mode:
Diffstat (limited to 'mattermost.go')
-rw-r--r--mattermost.go2
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)