diff options
author | Jan-Willem van der Meer <mail@jewilmeer.nl> | 2014-10-14 12:09:24 +0200 |
---|---|---|
committer | Jan-Willem van der Meer <mail@jewilmeer.nl> | 2014-10-14 12:09:24 +0200 |
commit | 9bf7bfda20a466b375a459b95068de8c0139fc9a (patch) | |
tree | 4be08cb0ce5f4cb7c688d91d50221d1510cea0e7 /lib | |
parent | ab04096c6cf5ff340b17df56afeae9782464742d (diff) | |
download | gitlab-ce-9bf7bfda20a466b375a459b95068de8c0139fc9a.tar.gz |
Remove unused methods
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/auth.rb | 8 | ||||
-rw-r--r-- | lib/gitlab/oauth/user.rb | 4 |
2 files changed, 0 insertions, 12 deletions
diff --git a/lib/gitlab/auth.rb b/lib/gitlab/auth.rb index f97c0247b6f..ae33c529b93 100644 --- a/lib/gitlab/auth.rb +++ b/lib/gitlab/auth.rb @@ -14,13 +14,5 @@ module Gitlab user if user.valid_password?(password) end end - - def log - Gitlab::AppLogger - end - - def ldap_conf - @ldap_conf ||= Gitlab.config.ldap - end end end diff --git a/lib/gitlab/oauth/user.rb b/lib/gitlab/oauth/user.rb index 699258baee4..133445d3d05 100644 --- a/lib/gitlab/oauth/user.rb +++ b/lib/gitlab/oauth/user.rb @@ -70,10 +70,6 @@ module Gitlab Gitlab::AppLogger end - def raise_error(message) - raise OmniAuth::Error, "(OAuth) " + message - end - def needs_blocking? Gitlab.config.omniauth['block_auto_created_users'] end |