Commit 9283b5ef by Jon Yurek

Change stray logger usage to Paperclip.log

parent 21802b39
......@@ -342,14 +342,14 @@ module Paperclip
end
def save_attached_files
logger.info("[paperclip] Saving attachments.")
Paperclip.log("Saving attachments.")
each_attachment do |name, attachment|
attachment.send(:save)
end
end
def destroy_attached_files
logger.info("[paperclip] Deleting attachments.")
Paperclip.log("Deleting attachments.")
each_attachment do |name, attachment|
attachment.send(:queue_existing_for_delete)
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