Reverted changes made to upstream master.

This commit is contained in:
Allen Torres 2012-12-28 10:33:32 -05:00
parent e4f39a6093
commit 0afb87663f

View File

@ -230,9 +230,8 @@ class Resque_Job
if($status->isTracking()) { if($status->isTracking()) {
$monitor = true; $monitor = true;
} }
$args = count($this->payload['args'])? $this->payload['args'][0] : $this->payload['args'];
return self::create($this->queue, $this->payload['class'], $args, $monitor); return self::create($this->queue, $this->payload['class'], $this->payload['args'][0], $monitor);
} }
/** /**