Commit 9283b5ef by Jon Yurek

Change stray logger usage to Paperclip.log

parent 21802b39
...@@ -342,14 +342,14 @@ module Paperclip ...@@ -342,14 +342,14 @@ module Paperclip
end end
def save_attached_files def save_attached_files
logger.info("[paperclip] Saving attachments.") Paperclip.log("Saving attachments.")
each_attachment do |name, attachment| each_attachment do |name, attachment|
attachment.send(:save) attachment.send(:save)
end end
end end
def destroy_attached_files def destroy_attached_files
logger.info("[paperclip] Deleting attachments.") Paperclip.log("Deleting attachments.")
each_attachment do |name, attachment| each_attachment do |name, attachment|
attachment.send(:queue_existing_for_delete) attachment.send(:queue_existing_for_delete)
attachment.send(:flush_deletes) attachment.send(:flush_deletes)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment