mirror of
https://github.com/idanoo/php-resque.git
synced 2024-11-25 09:45:15 +00:00
Merge pull request #21 from realestateconz/master
Ruby resque-web compatibility improvement
This commit is contained in:
commit
ea1ceed742
@ -63,7 +63,7 @@ class Resque_Job
|
||||
$id = md5(uniqid('', true));
|
||||
Resque::push($queue, array(
|
||||
'class' => $class,
|
||||
'args' => $args,
|
||||
'args' => array($args),
|
||||
'id' => $id,
|
||||
));
|
||||
|
||||
@ -128,7 +128,7 @@ class Resque_Job
|
||||
return array();
|
||||
}
|
||||
|
||||
return $this->payload['args'];
|
||||
return $this->payload['args'][0];
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user