diff options
author | Rémy Coutable <remy@rymai.me> | 2017-03-13 16:07:38 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-03-13 16:29:55 +0300 |
commit | c5e34da01d6ef4717f934754c9c2d1beadd8c55e (patch) | |
tree | 0a2aabf7b1156c8f36fe273f795ea3bf2d16a38e /lib | |
parent | 32da7602686f2b8161175d82b121deb9e01b2db5 (diff) |
Remove explicit `require` calls, and use `require_dependency` when needed
See
http://guides.rubyonrails.org/autoloading_and_reloading_constants.html
for more info.
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/ldap/user.rb | 2 | ||||
-rw-r--r-- | lib/omni_auth/strategies/bitbucket.rb (renamed from lib/omniauth/strategies/bitbucket.rb) | 0 |
2 files changed, 0 insertions, 2 deletions
diff --git a/lib/gitlab/ldap/user.rb b/lib/gitlab/ldap/user.rb index b84c81f1a6c..2d5e47a6f3b 100644 --- a/lib/gitlab/ldap/user.rb +++ b/lib/gitlab/ldap/user.rb @@ -1,5 +1,3 @@ -require 'gitlab/o_auth/user' - # LDAP extension for User model # # * Find or create user from omniauth.auth data diff --git a/lib/omniauth/strategies/bitbucket.rb b/lib/omni_auth/strategies/bitbucket.rb index 5a7d67c2390..5a7d67c2390 100644 --- a/lib/omniauth/strategies/bitbucket.rb +++ b/lib/omni_auth/strategies/bitbucket.rb |