From 5f2706f26574c84a217085ebccfcb22cc281873b Mon Sep 17 00:00:00 2001 From: sunguangming Date: Wed, 3 Sep 2025 03:38:21 +0000 Subject: [PATCH] * [bug#65161,done,0.2h] remove unused code. --- module/programplan/ui/create.html.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/module/programplan/ui/create.html.php b/module/programplan/ui/create.html.php index c8077dfc66..432d47ec5f 100644 --- a/module/programplan/ui/create.html.php +++ b/module/programplan/ui/create.html.php @@ -131,20 +131,6 @@ $fnGenerateFields = function() use ($lang, $requiredFields, $showFields, $fields $field['value'] = empty($programPlan) ? 'open' : $programPlan->acl; } - if(!empty($project->isTpl)) - { - if($name == 'begin') - { - $field['value'] = $project->begin; - $field['hidden'] = true; - } - if($name == 'end') - { - $field['value'] = $project->end; - $field['hidden'] = true; - } - } - /* Field for agileplus. */ if($name == 'type' && in_array($project->model, array('waterfallplus', 'ipd'))) {