function tmgmt_local_rules_task_unassign

Rules callback to unassign a translation task.

File

translators/tmgmt_local/tmgmt_local.rules.inc, line 55
Rules integration.

Code

function tmgmt_local_rules_task_unassign(TMGMTLocalTask $task) {
  $task
    ->unassign();
  $task
    ->save();
}