Skip to content
This repository
Browse code

Remove unused code

AttachmentAdapter now handles this for us.
  • Loading branch information...
commit 02eb72593c0cc508d973af15eb455199ea8b05d0 1 parent 40207c7
Prem Sichanugrist authored April 17, 2012

Showing 1 changed file with 0 additions and 4 deletions. Show diff stats Hide diff stats

  1. 4  lib/paperclip/attachment.rb
4  lib/paperclip/attachment.rb
@@ -426,10 +426,6 @@ def flush_errors #:nodoc:
426 426
 
427 427
     # called by storage after the writes are flushed and before @queued_for_writes is cleared
428 428
     def after_flush_writes
429  
-      @queued_for_write.each do |style, file|
430  
-        # file.close unless file.closed?
431  
-        # file.unlink if file.respond_to?(:unlink) && file.path.present? && File.exist?(file.path)
432  
-      end
433 429
     end
434 430
 
435 431
     def cleanup_filename(filename)

0 notes on commit 02eb725

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