mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 09:56:39 +08:00
11 lines
136 B
Ruby
11 lines
136 B
Ruby
module Jobs
|
|
class PurgeInactive < Jobs::Scheduled
|
|
every 1.day
|
|
|
|
def execute(args)
|
|
User.purge_inactive
|
|
end
|
|
end
|
|
end
|
|
|