|
|
|
@ -14,17 +14,6 @@ module Paperclip
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def reprocess_original!
|
|
|
|
|
old_original_path = path(:original)
|
|
|
|
|
reprocess!(:original)
|
|
|
|
|
new_original_path = path(:original)
|
|
|
|
|
|
|
|
|
|
if new_original_path != old_original_path
|
|
|
|
|
@queued_for_delete << old_original_path
|
|
|
|
|
flush_deletes
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def variant?(other_filename)
|
|
|
|
|
return true if original_filename == other_filename
|
|
|
|
|
return false if original_filename.nil?
|
|
|
|
|