mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 05:32:20 +00:00
Reverted changes made to upstream master.
This commit is contained in:
parent
e4f39a6093
commit
0afb87663f
1 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue