Skip to content

Commit

Permalink
Merge pull request chrisboulton#9 from cballou/master
Browse files Browse the repository at this point in the history
Fix naming of Resque_Event beforeDelayedEnqueue.
  • Loading branch information
chrisboulton committed Mar 3, 2013
2 parents abfd513 + 6211267 commit 9050a3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ResqueScheduler/Worker.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function enqueueDelayedItemsForTimestamp($timestamp)
while ($item = ResqueScheduler::nextItemForTimestamp($timestamp)) {
$this->log('queueing ' . $item['class'] . ' in ' . $item['queue'] .' [delayed]');

Resque_Event::trigger('beforeDelayedEneue', array(
Resque_Event::trigger('beforeDelayedEnqueue', array(
'queue' => $item['queue'],
'class' => $item['class'],
'args' => $item['args'],
Expand Down Expand Up @@ -124,4 +124,4 @@ public function log($message)
fwrite(STDOUT, "** [" . strftime('%T %Y-%m-%d') . "] " . $message . "\n");
}
}
}
}

0 comments on commit 9050a3d

Please sign in to comment.