mirror of
https://github.com/discourse/discourse.git
synced 2024-12-17 03:33:43 +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
|
|
|