/** * Stop an execution timer for a specified task */ public function stopWatch($id) { global $USER; $result = array(); if ($id = $this->checkTaskId($id)) { $task = new \CTaskItem($id, $USER->GetId()); $task->stopWatch(); } return $result; }
/** * Stop an execution timer for a specified task */ public function stopWatch($id) { global $USER; $result = array(); if ($id = $this->checkTaskId($id)) { $task = new \CTaskItem($id, $USER->GetId()); $task->stopWatch(); } return $result; }