From 81c18a01bd22437457da04b6cdb8d409beb54446 Mon Sep 17 00:00:00 2001 From: Corey Hulen Date: Mon, 25 Sep 2017 13:30:33 -0700 Subject: PLT-7542 Converting LDAP sync to the job server (#7452) * PLT-7542 Converting LDAP sync to the job server * Fixing minor issues * Fixing build failure * Translate error message * Translate error message * Translate error message * Translate error message * Fixing merge * Fixing bad merge --- app/ldap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/ldap.go') diff --git a/app/ldap.go b/app/ldap.go index 279ea3708..96791168e 100644 --- a/app/ldap.go +++ b/app/ldap.go @@ -15,7 +15,7 @@ func (a *App) SyncLdap() { go func() { if utils.IsLicensed() && *utils.License().Features.LDAP && *utils.Cfg.LdapSettings.Enable { if ldapI := a.Ldap; ldapI != nil { - ldapI.SyncNow() + ldapI.StartSynchronizeJob(false) } else { l4g.Error("%v", model.NewAppError("SyncLdap", "ent.ldap.disabled.app_error", nil, "", http.StatusNotImplemented).Error()) } -- cgit v1.2.3-1-g7c22