diff options
Diffstat (limited to 'core/Period/Month.php')
-rw-r--r-- | core/Period/Month.php | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/core/Period/Month.php b/core/Period/Month.php index 40fda847ca..1918ec3650 100644 --- a/core/Period/Month.php +++ b/core/Period/Month.php @@ -55,18 +55,4 @@ class Piwik_Period_Month extends Piwik_Period $currentDay = $currentDay->addDay(1); } } - - public function isFinished() - { - if(!$this->subperiodsProcessed) - { - $this->generate(); - } - // a month is finished - // if current month > month AND current year == year - // OR if current year > year - $year = $this->date->get("Y"); - return ( date("m") > $this->date->get("m") && date("Y") == $year) - || date("Y") > $year; - } } |