mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 04:23:43 +08:00
10 lines
138 B
Ruby
10 lines
138 B
Ruby
module Jobs
|
|
class PurgeInactive < Jobs::Scheduled
|
|
every 1.day
|
|
|
|
def execute(args)
|
|
User.purge_unactivated
|
|
end
|
|
end
|
|
end
|