mirror of
https://github.com/mastodon/mastodon
synced 2024-11-27 06:18:17 +09:00
Clean up
This commit is contained in:
parent
fbaca0c953
commit
a5ac53d326
@ -151,11 +151,9 @@ module Mastodon::CLI
|
||||
end
|
||||
end
|
||||
when :fog
|
||||
paperclip_instance = MediaAttachment.new.file
|
||||
fog_directory = Paperclip::Attachment.default_options[:fog_directory]
|
||||
connection = Fog::Storage.new(Paperclip::Attachment.default_options[:fog_credentials])
|
||||
directory = connection.directories.get(fog_directory)
|
||||
|
||||
last_key = options[:start_after]
|
||||
|
||||
loop do
|
||||
|
Loading…
Reference in New Issue
Block a user