From ac7639868593ad7d480e358e1cf4249305da8cb8 Mon Sep 17 00:00:00 2001 From: r888888888 Date: Fri, 8 Sep 2017 17:28:30 -0700 Subject: [PATCH] disable cropper notification on upload --- app/models/upload.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/upload.rb b/app/models/upload.rb index c48ac3ce3..683820c26 100644 --- a/app/models/upload.rb +++ b/app/models/upload.rb @@ -142,7 +142,7 @@ class Upload < ApplicationRecord User.where(id: CurrentUser.id).update_all("post_upload_count = post_upload_count + 1") create_artist_commentary(post) if include_artist_commentary? ugoira_service.save_frame_data(post) if is_ugoira? - notify_cropper(post) + #notify_cropper(post) update_attributes(:status => "completed", :post_id => post.id) else update_attribute(:status, "error: " + post.errors.full_messages.join(", "))