mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-20 20:42:44 -05:00
10 lines
136 B
Ruby
10 lines
136 B
Ruby
module Jobs
|
|
class PurgeInactive < Jobs::Scheduled
|
|
every 1.day
|
|
|
|
def execute(args)
|
|
User.purge_inactive
|
|
end
|
|
end
|
|
end
|
|
|