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/Day.php')
-rw-r--r--core/Period/Day.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/Period/Day.php b/core/Period/Day.php
index 198662dbe7..a4ed18fbba 100644
--- a/core/Period/Day.php
+++ b/core/Period/Day.php
@@ -8,13 +8,15 @@
* @category Piwik
* @package Piwik
*/
+namespace Piwik\Period;
+use Exception;
use Piwik\Period;
/**
* @package Piwik
* @subpackage Period
*/
-class Piwik_Period_Day extends Period
+class Day extends Period
{
protected $label = 'day';
@@ -76,7 +78,7 @@ class Piwik_Period_Day extends Period
*/
public function addSubperiod($date)
{
- throw new Exception("Adding a subperiod is not supported for Piwik_Period_Day");
+ throw new Exception("Adding a subperiod is not supported for Day");
}
/**