Skip to content
Snippets Groups Projects

Feat/24620 journal 24h

Merged Jerome Boucher requested to merge feat/24620_journal_24h into develop
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -82,7 +82,7 @@ class journal
}
}
public function getTimeRanges($fromDate, $toDate)
protected function getTimeRanges($fromDate, $toDate)
{
// If less than 24 hours ellapsed since last journal consider all range up to start of current second
$diff = $toDate->diff($fromDate);
@@ -142,7 +142,7 @@ class journal
return $journal;
}
public function writeJournalFile($journal, $events, $previousJournal = null)
protected function writeJournalFile($journal, $events, $previousJournal = null)
{
$tmpdir = \laabs::getTmpDir();
$journalFilename = $tmpdir.DIRECTORY_SEPARATOR.(string) $journal->archiveId.".csv";
Loading