Update Job.php

Previous code was encapsulating $args in an additional array, and thus breaking the new job $args.
This commit is contained in:
CyrilMazur 2013-04-16 13:07:03 -03:00
parent 72c2afad59
commit e4ea683def

View File

@ -226,7 +226,7 @@ class Resque_Job
$monitor = true; $monitor = true;
} }
return self::create($this->queue, $this->payload['class'], $this->payload['args'], $monitor); return self::create($this->queue, $this->payload['class'], $this->getArguments(), $monitor);
} }
/** /**