posts: log md5 when expunging posts.

This commit is contained in:
evazion
2020-08-04 12:12:16 -05:00
parent 79077df713
commit b57122cf7f

View File

@@ -971,7 +971,7 @@ class Post < ApplicationRecord
transaction do
Post.without_timeout do
ModAction.log("permanently deleted post ##{id}", :post_permanent_delete)
ModAction.log("permanently deleted post ##{id} (md5=#{md5})", :post_permanent_delete)
update_children_on_destroy
decrement_tag_post_counts