Refactoring.

This commit is contained in:
James Cole
2016-05-13 15:53:39 +02:00
parent 36bc483edb
commit 20e1e50032
31 changed files with 526 additions and 392 deletions

View File

@@ -108,9 +108,7 @@ class Navigation
$currentEnd->$function();
}
if (in_array($repeatFreq, $subDay)) {
Log::debug('Before subday: ' . $currentEnd->format('Y-m-d'));
$currentEnd->subDay();
Log::debug('After subday: ' . $currentEnd->format('Y-m-d'));
}
return $currentEnd;