From 2fa2ccf14709759bae6cbbe24109f1407cebb89e Mon Sep 17 00:00:00 2001 From: tianshujie Date: Mon, 12 Jun 2023 18:48:55 +0800 Subject: [PATCH] \# Clear unused code. --- module/execution/control.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/module/execution/control.php b/module/execution/control.php index 378c086ac1..a48ec3e991 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -1519,11 +1519,8 @@ class execution extends control $deptID = $this->app->user->admin ? 0 : $this->app->user->dept; $teamMembers = array(); - $totalHours = 0; foreach($this->view->teamMembers as $member) { - $totalHours += $member->totalHours; - $member->days = $member->days . $this->lang->execution->day; $member->hours = $member->hours . $this->lang->execution->workHour; $member->total = $member->totalHours . $this->lang->execution->workHour;