Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Emil Kilhage committed Oct 4, 2016
1 parent 95ad7b2 commit c1148b0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Queue/QueueScheduler.php
Expand Up @@ -104,9 +104,8 @@ private function checkPreviousRunDate(ScheduleInterface $schedule)
$queueRepo = $this->doctrine->getManager()
->getRepository('GloobyTaskBundle:QueuedTask');

$expression = $schedule->parseExpression();

$executeAt = null;
$expression = $schedule->parseExpression();

try {
$queueRepo->getByNameAndExecuteAtBeforeNow($schedule->getName());
Expand Down

0 comments on commit c1148b0

Please sign in to comment.