Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/Period')
-rw-r--r--core/Period/Range.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/Period/Range.php b/core/Period/Range.php
index dea4ed73ad..1d695ba971 100644
--- a/core/Period/Range.php
+++ b/core/Period/Range.php
@@ -101,9 +101,7 @@ class Piwik_Period_Range extends Piwik_Period
if(ereg('(last|previous)([0-9]*)', $this->strDate, $regs))
{
$lastN = $regs[2];
-
$lastOrPrevious = $regs[1];
-
if(!is_null($this->defaultEndDate))
{
$defaultEndDate = $this->defaultEndDate;