Commit 9e389588 by Prem Sichanugrist

Remove obsolete `aws/s3` stuff

`AWS::S3::Base.establish_connection!` is not on the `aws/sdk`, and this code doesn't get used anymore.
parent 17c5b8fe
...@@ -330,14 +330,6 @@ module Paperclip ...@@ -330,14 +330,6 @@ module Paperclip
end end
private :find_credentials 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) def use_secure_protocol?(style_name)
s3_protocol(style_name) == "https" s3_protocol(style_name) == "https"
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment