From b89687759113f19d28bb2c758907598006287cc6 Mon Sep 17 00:00:00 2001 From: Ben Roberts Date: Fri, 22 Apr 2011 00:49:32 +0100 Subject: [PATCH] fix call to Gearman_Job::complete() --- source/lib/Net/Gearman/Job/HandBrake.class.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/lib/Net/Gearman/Job/HandBrake.class.php b/source/lib/Net/Gearman/Job/HandBrake.class.php index e075dfe..32479bc 100644 --- a/source/lib/Net/Gearman/Job/HandBrake.class.php +++ b/source/lib/Net/Gearman/Job/HandBrake.class.php @@ -64,7 +64,9 @@ class Net_Gearman_Job_HandBrake extends Net_Gearman_Job_Common implements Rippin $this->fail($return_val); } else { $this->job->updateStatus(RippingCluster_JobStatus::COMPLETE); - $this->complete(); + $this->complete( array( + 'id' => $this->job->id() + )); } } @@ -115,4 +117,4 @@ class Net_Gearman_Job_HandBrake extends Net_Gearman_Job_Common implements Rippin } -?> \ No newline at end of file +?>