Skip to content
Extraits de code Groupes Projets
Valider 881c818f rédigé par robocoder's avatar robocoder
Parcourir les fichiers

fixes #1458

git-svn-id: http://dev.piwik.org/svn/trunk@2694 59fd770c-687e-43c8-a1e3-f5a4ff64c105
parent b31f0182
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -305,7 +305,6 @@ abstract class Piwik_ArchiveProcessing
$dateEndUTC = $dateEndLocalTimezone->setTimezone($this->site->getTimezone());
$this->startDatetimeUTC = $dateStartUTC->getDateStartUTC();
$this->endDatetimeUTC = $dateEndUTC->getDateEndUTC();
$this->startTimestampUTC = $dateStartUTC->getTimestamp();
$this->endTimestampUTC = strtotime($this->endDatetimeUTC);
......@@ -340,7 +339,8 @@ abstract class Piwik_ArchiveProcessing
// if the current archive is a DAY and if it's today,
// we set this minDatetimeArchiveProcessedUTC that defines the lifetime value of today's archive
if( $this->period->getNumberOfSubperiods() == 0
&& $this->startTimestampUTC <= time() && $this->endTimestampUTC > time()
&& ($this->startTimestampUTC > time() ||
($this->startTimestampUTC <= time() && $this->endTimestampUTC > time()))
)
{
$this->temporaryArchive = true;
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter