From f91352d8100d1960d0ba13bb17337940ee96e7c3 Mon Sep 17 00:00:00 2001 From: Michael Alexander Date: Mon, 18 Nov 2013 10:02:03 +1100 Subject: [PATCH] Renamed references of token to id. --- README.md | 2 +- lib/Resque.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e247c21..662c970 100644 --- a/README.md +++ b/README.md @@ -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 * Arguments - array of arguments supplied to the job * 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 ## diff --git a/lib/Resque.php b/lib/Resque.php index 1bba5da..2b47084 100644 --- a/lib/Resque.php +++ b/lib/Resque.php @@ -189,7 +189,7 @@ class Resque 'class' => $class, 'args' => $args, 'queue' => $queue, - 'token' => $result, + 'id' => $result, )); }