You are here

public function TMGMTLocalTask::unassign in Translation Management Tool 7

Unassign translation task.

File

translators/tmgmt_local/entity/tmgmt_local.entity.task.inc, line 148

Class

TMGMTLocalTask
Entity class for the local task entity.

Code

public function unassign() {

  // We also need to increment loop count when unassigning.
  $this
    ->incrementLoopCount(TMGMT_LOCAL_TASK_STATUS_UNASSIGNED, 0);
  $this->tuid = 0;
  $this->status = TMGMT_LOCAL_TASK_STATUS_UNASSIGNED;
}