better error handling of failed deviant art logins

This commit is contained in:
r888888888
2017-08-28 16:19:41 -07:00
parent 840cdc817d
commit bc69badadd
3 changed files with 27 additions and 19 deletions

View File

@@ -1367,7 +1367,7 @@ class Post < ApplicationRecord
transaction do
Post.without_timeout do
ModAction.log("permanently deleted post ##{id}")
delete!("Permanently deleted post ##{id}", :without_mod_action => true)
#delete!("Permanently deleted post ##{id}", :without_mod_action => true)
give_favorites_to_parent
update_children_on_destroy