Skip to content

Commit

Permalink
Pheanstalk driver requires that PheanstalkJob is passed to delete method
Browse files Browse the repository at this point in the history
Signed-off-by: Jodie Dunlop <jodie.dunlop@rexsoftware.com.au>
  • Loading branch information
jodiedunlop committed Nov 15, 2016
1 parent b431c97 commit f082a26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Queue/BeanstalkdQueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public function pop($queue = null)
*/
public function deleteMessage($queue, $id)
{
$this->pheanstalk->useTube($this->getQueue($queue))->delete($id);
$this->pheanstalk->useTube($this->getQueue($queue))->delete(new PheanstalkJob($id, ''));
}

/**
Expand Down

0 comments on commit f082a26

Please sign in to comment.