mirror of
https://github.com/discourse/discourse.git
synced 2025-09-04 08:47:37 +08:00
remove unused file
This commit is contained in:
parent
ad8c2c08a4
commit
a7603b1cfb
1 changed files with 0 additions and 12 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue