/** * batch deleteJobAction deletes and returns the status of task * * @action deleteJob * @param int $jobId the id of the job * @param KalturaBatchJobType $jobType the type of the job * @return KalturaBatchJobResponse */ function deleteJobAction($jobId, $jobType) { $dbJobType = kPluginableEnumsManager::apiToCore('BatchJobType', $jobType); kJobsManager::deleteJob($jobId, $dbJobType); return $this->getStatusAction($jobId, $jobType); }