Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove obsolete aws/s3 stuff
`AWS::S3::Base.establish_connection!` is not on the `aws/sdk`, and this code doesn't get used anymore.
  • Loading branch information
sikachu committed Feb 29, 2012
1 parent 17c5b8f commit 9e38958
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/paperclip/storage/s3.rb
Expand Up @@ -330,14 +330,6 @@ def find_credentials creds
end
private :find_credentials

def establish_connection!
@connection ||= AWS::S3::Base.establish_connection!( @s3_options.merge(
:access_key_id => s3_credentials[:access_key_id],
:secret_access_key => s3_credentials[:secret_access_key]
))
end
private :establish_connection!

def use_secure_protocol?(style_name)
s3_protocol(style_name) == "https"
end
Expand Down

0 comments on commit 9e38958

Please sign in to comment.