gitlabhq/gitlabhq — pull request #6189 by jcockhren (2014-01-28 21:15:05+00:00)
Title: the existence of former ldap users doesn't imply LDAP is enabled.

When ldap is disabled in the gitlab config, this fixes the API still calling the ldap backend.
This solves #6188 and is a likely cause for #4730