expunge: decrement upload and note/post update counts (fix #2062).

This commit is contained in:
evazion
2017-07-28 17:10:10 -05:00
committed by r888888888
parent 95854756b4
commit fd9dc6f647
6 changed files with 27 additions and 9 deletions

View File

@@ -139,7 +139,6 @@ class Upload < ApplicationRecord
post = convert_to_post
post.distribute_files
if post.save
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)