mirror of
https://github.com/discourse/discourse.git
synced 2024-12-18 16:43:57 +08:00
f0a122a66c
introduce new setting email_always, that will force emails to send to users regardless of presence on site
11 lines
216 B
Ruby
11 lines
216 B
Ruby
module Jobs
|
|
# various consistency checks
|
|
class DestroyOldDeletionStubs < Jobs::Scheduled
|
|
recurrence { hourly.minute_of_hour(0, 30) }
|
|
|
|
def execute(args)
|
|
PostDestroyer.destroy_stubs
|
|
end
|
|
end
|
|
end
|