Skip to content

Commit 6211267

Browse files
committed
Fixing mistyped beforeDelayedEnqueue event.
The beforeDelayedEnqueue event was misnamed as beforeDelayedEneue. This is a quick fix for those that plan to use the event.
1 parent abfd513 commit 6211267

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ResqueScheduler/Worker.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function enqueueDelayedItemsForTimestamp($timestamp)
7575
while ($item = ResqueScheduler::nextItemForTimestamp($timestamp)) {
7676
$this->log('queueing ' . $item['class'] . ' in ' . $item['queue'] .' [delayed]');
7777

78-
Resque_Event::trigger('beforeDelayedEneue', array(
78+
Resque_Event::trigger('beforeDelayedEnqueue', array(
7979
'queue' => $item['queue'],
8080
'class' => $item['class'],
8181
'args' => $item['args'],
@@ -124,4 +124,4 @@ public function log($message)
124124
fwrite(STDOUT, "** [" . strftime('%T %Y-%m-%d') . "] " . $message . "\n");
125125
}
126126
}
127-
}
127+
}

0 commit comments

Comments
 (0)