fix call to Gearman_Job::complete()

This commit is contained in:
2011-04-22 00:49:32 +01:00
parent da263a23b7
commit b896877591

View File

@@ -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
}
?>
?>