remove unused file

This commit is contained in:
Régis Hanol 2018-02-05 16:58:57 +01:00
parent ad8c2c08a4
commit a7603b1cfb
1 changed files with 0 additions and 12 deletions

View File

@ -1,12 +0,0 @@
module Jobs
class CleanUpDigestKeys < Jobs::Scheduled
every 1.day
def execute(args)
# Remove unused digest keys
DigestUnsubscribeKey.where('created_at < ?', 2.months.ago).delete_all
end
end
end