correctif(users.expires): maj l'appel a process_expired car le service est instanciable maintenant
This commit is contained in:
parent
7cb6eadf18
commit
fd81936baf
2 changed files with 4 additions and 4 deletions
|
@ -4,6 +4,6 @@ class Cron::ExpiredUsersDeletionJob < Cron::CronJob
|
|||
|
||||
def perform(*args)
|
||||
return if ENV['EXPIRE_USER_DELETION_JOB_LIMIT'].blank?
|
||||
Expired::UsersDeletionService.process_expired
|
||||
Expired::UsersDeletionService.new.process_expired
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue