mirror of
https://github.com/idanoo/php-resque
synced 2025-06-30 21:22:20 +00:00
Updated to match coding style.
Signed-off-by: Daniel Hunsaker <danhunsaker@gmail.com>
This commit is contained in:
parent
3798fa3ba6
commit
8d1a9a5564
2 changed files with 7 additions and 8 deletions
|
@ -58,13 +58,12 @@ class Resque_Job
|
|||
);
|
||||
}
|
||||
$id = md5(uniqid('', true));
|
||||
if ( ! Resque::push($queue, array(
|
||||
if (!Resque::push($queue, array(
|
||||
'class' => $class,
|
||||
'args' => array($args),
|
||||
'id' => $id,
|
||||
)))
|
||||
{
|
||||
return FALSE;
|
||||
))) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if($monitor) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue