This commit is contained in:
albert
2013-04-09 15:31:49 -04:00
parent c17ab321be
commit 6a4a19fae4
2 changed files with 14 additions and 6 deletions

View File

@@ -6,9 +6,11 @@ class PostPruner
end
def prune!
prune_pending!
prune_flagged!
prune_mod_actions!
Post.without_timeout do
prune_pending!
prune_flagged!
prune_mod_actions!
end
end
protected