remove reference to currentuser when processing bulk reverts

This commit is contained in:
r888888888
2017-11-15 16:48:22 -08:00
parent 7dea7eef89
commit 2da40dfc2b
2 changed files with 7 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ class BulkRevert
def process(constraints)
@constraints = constraints
ModAction.log("#{CurrentUser.name} processed bulk revert for #{constraints.inspect}")
ModAction.log("Processed bulk revert for #{constraints.inspect}")
find_post_versions.order("updated_at, id").each do |version|
version.undo!