removed small image support

This commit is contained in:
albert
2012-03-13 18:28:32 -04:00
parent 938541c98f
commit 7269ec0076
27 changed files with 17 additions and 205 deletions

View File

@@ -28,10 +28,6 @@ class AmazonBackup < ActiveRecord::Base
AWS::S3::S3Object.store("preview/#{post.md5}.jpg", open(post.preview_file_path, "rb"), Danbooru.config.amazon_s3_bucket_name)
end
if File.exists?(post.medium_file_path)
AWS::S3::S3Object.store("medium/#{post.md5}.jpg", open(post.medium_file_path, "rb"), Danbooru.config.amazon_s3_bucket_name)
end
if File.exists?(post.large_file_path)
AWS::S3::S3Object.store("large/#{post.md5}.jpg", open(post.large_file_path, "rb"), Danbooru.config.amazon_s3_bucket_name)
end