From 14bb8be66e45ee804397a8a9f7a17004aacbca5c Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Thu, 14 May 2020 13:42:38 +1000 Subject: [PATCH] Update after_time feature to new wizard api --- jobs/set_after_time_wizard.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jobs/set_after_time_wizard.rb b/jobs/set_after_time_wizard.rb index 7aa528ba..80f8f5e5 100644 --- a/jobs/set_after_time_wizard.rb +++ b/jobs/set_after_time_wizard.rb @@ -2,7 +2,7 @@ module Jobs class SetAfterTimeWizard < ::Jobs::Base def execute(args) if SiteSetting.custom_wizard_enabled - wizard = CustomWizard::Wizard.find(args[:wizard_id]) + wizard = CustomWizard::Wizard.create(args[:wizard_id]) if wizard && wizard.after_time user_ids = []