* [bug#63028,done,0.1h,0h] Optimize code.

This commit is contained in:
wangyuting
2025-06-11 07:26:53 +00:00
parent 887bf23bc4
commit 8a62f96d46
-1
View File
@@ -970,7 +970,6 @@ class programplanModel extends model
*/
public function calcDaysForStage(string $start, string $end): int
{
$days = 0;
$weekend = $this->config->execution->weekend;
$days = range(strtotime($start), strtotime($end), 86400);
foreach($days as $key => $day)