fix call to Gearman_Job::complete()
This commit is contained in:
@@ -64,7 +64,9 @@ class Net_Gearman_Job_HandBrake extends Net_Gearman_Job_Common implements Rippin
|
|||||||
$this->fail($return_val);
|
$this->fail($return_val);
|
||||||
} else {
|
} else {
|
||||||
$this->job->updateStatus(RippingCluster_JobStatus::COMPLETE);
|
$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
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user