Renamed references of token to id.

This commit is contained in:
Michael Alexander 2013-11-18 10:02:03 +11:00
parent 6d8cd501b7
commit f91352d810
2 changed files with 2 additions and 2 deletions

View File

@ -384,7 +384,7 @@ Called after a job has been queued using the `Resque::enqueue` method. Arguments
* Class - string containing the name of scheduled job * Class - string containing the name of scheduled job
* Arguments - array of arguments supplied to the job * Arguments - array of arguments supplied to the job
* Queue - string containing the name of the queue the job was added to * Queue - string containing the name of the queue the job was added to
* Token - string containing the new token of the enqueued job * Id - string containing the new token of the enqueued job
## Contributors ## ## Contributors ##

View File

@ -189,7 +189,7 @@ class Resque
'class' => $class, 'class' => $class,
'args' => $args, 'args' => $args,
'queue' => $queue, 'queue' => $queue,
'token' => $result, 'id' => $result,
)); ));
} }