Skip to content

Commit

Permalink
Revert "Removing unneeded fix in last commit."
Browse files Browse the repository at this point in the history
This reverts commit 37ea2e2.
  • Loading branch information
JaapRood committed Sep 10, 2013
1 parent 37ea2e2 commit 110e213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ResqueScheduler.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public static function nextDelayedTimestamp($at = null)
$at = self::getTimestamp($at);
}

$items = Resque::redis()->zrangebyscore('delayed_queue_schedule', '-inf', $at, 'LIMIT', 0, 1);
$items = Resque::redis()->zrangebyscore('delayed_queue_schedule', '-inf', $at, array('limit' => array(0, 1)));
if (!empty($items)) {
return $items[0];
}
Expand Down

0 comments on commit 110e213

Please sign in to comment.