hide approval mod actions, better logic for user promotion/demotion mod actions

This commit is contained in:
albert
2013-02-28 10:19:31 -08:00
parent 29ae2561c8
commit 132ef8f93c
5 changed files with 25 additions and 4 deletions

View File

@@ -12,6 +12,10 @@ every 1.day do
runner "Upload.delete_all(['created_at < ?', 1.day.ago])"
end
every 1.day do
runner "ModAction.delete_all(['created_at < ?', 3.days.ago])"
end
if environment == "production"
every 1.hour do
runner "AmazonBackup.execute"