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