* [bug#63028,done,0.1h,0h] Optimize code.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user