Remove unused GitHub integration

Andrew Cantino 9 years ago
parent
commit
615f1d51f1
2 changed files with 0 additions and 7 deletions
  1. 0 1
      Gemfile
  2. 0 6
      config/initializers/devise.rb

+ 0 - 1
Gemfile

@@ -41,7 +41,6 @@ gem 'haversine'
41 41
 
42 42
 # Optional Services.
43 43
 gem 'omniauth-37signals'          # BasecampAgent
44
-# gem 'omniauth-github'
45 44
 gem 'omniauth-wunderlist', github: 'wunderlist/omniauth-wunderlist', ref: 'd0910d0396107b9302aa1bc50e74bb140990ccb8'
46 45
 
47 46
 # Bundler <1.5 does not recognize :x64_mingw as a valid platform name.

+ 0 - 6
config/initializers/devise.rb

@@ -251,12 +251,6 @@ Devise.setup do |config|
251 251
     config.omniauth :'37signals', key, secret
252 252
   end
253 253
 
254
-  if defined?(OmniAuth::Strategies::GitHub) &&
255
-     (key = ENV["GITHUB_OAUTH_KEY"]).present? &&
256
-     (secret = ENV["GITHUB_OAUTH_SECRET"]).present?
257
-    config.omniauth :github, key, secret
258
-  end
259
-
260 254
   if defined?(OmniAuth::Strategies::Dropbox) &&
261 255
      (key = ENV["DROPBOX_OAUTH_KEY"]).present? &&
262 256
      (secret = ENV["DROPBOX_OAUTH_SECRET"]).present?