diff options
author | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2010-02-10 11:14:15 +0300 |
---|---|---|
committer | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2010-02-10 11:14:15 +0300 |
commit | e6d09093dbb197dbfd51e9803d5ee4a64372cac5 (patch) | |
tree | 252bd657aa53e6fac4690cd8cd6bcd536472c135 /plugins/VisitTime | |
parent | 45a7a1992f2232af36068e08a5deb1b1f43dff1e (diff) |
fixes #1122 - per Matt's review
Diffstat (limited to 'plugins/VisitTime')
-rw-r--r-- | plugins/VisitTime/API.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/VisitTime/API.php b/plugins/VisitTime/API.php index e37e2a716b..8869bc4a07 100644 --- a/plugins/VisitTime/API.php +++ b/plugins/VisitTime/API.php @@ -27,7 +27,7 @@ class Piwik_VisitTime_API return self::$instance; } - static protected function getDataTable($name, $idSite, $period, $date ) + protected function getDataTable($name, $idSite, $period, $date ) { Piwik::checkUserHasViewAccess( $idSite ); $archive = Piwik_Archive::build($idSite, $period, $date ); @@ -38,14 +38,14 @@ class Piwik_VisitTime_API return $dataTable; } - static public function getVisitInformationPerLocalTime( $idSite, $period, $date ) + public function getVisitInformationPerLocalTime( $idSite, $period, $date ) { - return self::getDataTable('VisitTime_localTime', $idSite, $period, $date ); + return $this->getDataTable('VisitTime_localTime', $idSite, $period, $date ); } - static public function getVisitInformationPerServerTime( $idSite, $period, $date ) + public function getVisitInformationPerServerTime( $idSite, $period, $date ) { - return self::getDataTable('VisitTime_serverTime', $idSite, $period, $date ); + return $this->getDataTable('VisitTime_serverTime', $idSite, $period, $date ); } } |