Beispiel #1
0
 /**
  * Renew (switch to status "pending, await execution") a specified task
  */
 public function renew($id)
 {
     global $USER;
     $result = array();
     if ($id = $this->checkTaskId($id)) {
         $task = new \CTaskItem($id, $USER->GetId());
         $task->renew();
     }
     return $result;
 }