* Remove unused code.

This commit is contained in:
Yagami
2023-02-16 17:06:35 +08:00
parent 58fb367739
commit b737d1df40
-23
View File
@@ -4422,29 +4422,6 @@ class execution extends control
echo true;
}
/**
* AJAX: Gets the start date of the project to which the execution belongs.
*
* @param int $executionID
* @access public
* @return string
*/
public function ajaxGetProjectStartDate($executionID = 0)
{
$execution = $this->dao->select('id,project')->from(TABLE_EXECUTION)->where('id')->eq($executionID)->fetch();
$project = $this->dao->select('begin,end')->from(TABLE_PROJECT)->where('id')->eq($execution->project)->fetch();
if(empty($project))
{
echo '';
return false;
}
$date = array();
$date['begin'] = $project->begin;
$date['end'] = $project->end;
echo json_encode($date);
}
/**
* Ajax get copy project executions.
*