mirror of
https://github.com/idanoo/php-resque.git
synced 2024-11-22 08:15:14 +00:00
Reverted changes made to upstream master.
This commit is contained in:
parent
e4f39a6093
commit
0afb87663f
@ -230,9 +230,8 @@ class Resque_Job
|
||||
if($status->isTracking()) {
|
||||
$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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user