Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove unused code

AttachmentAdapter now handles this for us.
  • Loading branch information...
commit 02eb72593c0cc508d973af15eb455199ea8b05d0 1 parent 40207c7
@sikachu sikachu authored
Showing with 0 additions and 4 deletions.
  1. +0 −4 lib/paperclip/attachment.rb
View
4 lib/paperclip/attachment.rb
@@ -426,10 +426,6 @@ def flush_errors #:nodoc:
# called by storage after the writes are flushed and before @queued_for_writes is cleared
def after_flush_writes
- @queued_for_write.each do |style, file|
- # file.close unless file.closed?
- # file.unlink if file.respond_to?(:unlink) && file.path.present? && File.exist?(file.path)
- end
end
def cleanup_filename(filename)

0 comments on commit 02eb725

Please sign in to comment.
Something went wrong with that request. Please try again.