diff --git a/module/execution/control.php b/module/execution/control.php index 5ba2a928da..bbf8c9638f 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -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. *