diff options
author | Thibaut Girka <thib@sitedethib.com> | 2020-04-12 16:50:27 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2020-04-12 16:50:27 +0200 |
commit | fdd0beefa7176f4d0df3adcf37156229889127d7 (patch) | |
tree | 9a618d6a5c0759b28b89f663ff0fc8eee6c4db6c /lib/paperclip | |
parent | 51bbf0b68dc504c441cb929e4fbf8d8c6e04df42 (diff) | |
parent | 490ff09c5a503f1e5f9cad964470fdefa3eabea8 (diff) |
Merge branch 'master' into glitch-soc/merge-upstream
Conflicts: - `README.md`: We have a different README than upstream, discarded upstream changes and kept ours.
Diffstat (limited to 'lib/paperclip')
-rw-r--r-- | lib/paperclip/attachment_extensions.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/paperclip/attachment_extensions.rb b/lib/paperclip/attachment_extensions.rb index d9ec0159a..ce5780557 100644 --- a/lib/paperclip/attachment_extensions.rb +++ b/lib/paperclip/attachment_extensions.rb @@ -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? |