Fix incorrect method name.
This commit is contained in:
parent
9bc6a60503
commit
8e794070d2
|
@ -1,7 +1,7 @@
|
|||
module Jobs
|
||||
class RemoveOldAutoCloseJobs < Jobs::Onceoff
|
||||
def execute_onceoff(args)
|
||||
Jobs.cancel_scheduled_for(:close_topic)
|
||||
Jobs.cancel_scheduled_job(:close_topic)
|
||||
|
||||
# No need to enqueue new jobs since we have a scheduled job that will
|
||||
# automatically enqueue the new jobs.
|
||||
|
|
Loading…
Reference in New Issue