summaryrefslogtreecommitdiff
path: root/app/uploaders
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2018-06-15 12:28:23 +0200
committerDouwe Maan <douwe@selenight.nl>2018-06-15 12:28:23 +0200
commit5fc3b8a08d9264eedbf886c45b4ef7b418df380d (patch)
tree43a12031b52f267237f2539b42815c33061f82ea /app/uploaders
parenta8445cc29d81f8d8169e93cd4ef6692aa0fef1fb (diff)
downloadgitlab-ce-5fc3b8a08d9264eedbf886c45b4ef7b418df380d.tar.gz
Remove FaviconUploader favicon_main versiondm-remove-favicon-main-version
See https://gitlab.com/gitlab-org/gitlab-ce/issues/47677 for more information
Diffstat (limited to 'app/uploaders')
-rw-r--r--app/uploaders/favicon_uploader.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/app/uploaders/favicon_uploader.rb b/app/uploaders/favicon_uploader.rb
index 09afc63a5aa..3639375d474 100644
--- a/app/uploaders/favicon_uploader.rb
+++ b/app/uploaders/favicon_uploader.rb
@@ -1,17 +1,6 @@
class FaviconUploader < AttachmentUploader
EXTENSION_WHITELIST = %w[png ico].freeze
- include CarrierWave::MiniMagick
-
- version :favicon_main do
- process resize_to_fill: [32, 32]
- process convert: 'png'
-
- def full_filename(filename)
- filename_for_different_format(super(filename), 'png')
- end
- end
-
def extension_whitelist
EXTENSION_WHITELIST
end