fix for tag sub update

This commit is contained in:
albert
2013-04-02 17:01:22 -04:00
parent 9dd141ded4
commit eee7fa0edd
2 changed files with 11 additions and 8 deletions

View File

@@ -5,6 +5,7 @@ class DailyMaintenance
Upload.delete_all(['created_at < ?', 1.day.ago])
ModAction.delete_all(['created_at < ?', 3.days.ago])
Delayed::Job.delete_all(['created_at < ?'], 1.day.ago)
prune_ad_hits
end
def prune_ad_hits