gitlabhq/gitlabhq — pull request #8044 by mr-vinn (2014-10-15 03:38:59+00:00)
Title: Skip OmniAuth init when LDAP is disabled

The OmniAuth initializer uses config settings that are only assigned when LDAP is enabled or when GitLab is run in the test environment, so those same conditions should be applied to the initializer itself.