function tmgmt_rules_job_delete in Translation Management Tool 7
Rules action to delete a translation job.
File
- ./
tmgmt.rules.inc, line 221 - Rules integration.
Code
function tmgmt_rules_job_delete(TMGMTJob $job) {
// Prevent users without job delete permission to be able to delete jobs.
if (tmgmt_job_access('delete')) {
$job
->delete();
}
}