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 'plugins/VisitTime/VisitTime.php')
-rw-r--r--plugins/VisitTime/VisitTime.php16
1 files changed, 0 insertions, 16 deletions
diff --git a/plugins/VisitTime/VisitTime.php b/plugins/VisitTime/VisitTime.php
index 5b1c256ce7..39ac47d536 100644
--- a/plugins/VisitTime/VisitTime.php
+++ b/plugins/VisitTime/VisitTime.php
@@ -11,20 +11,4 @@ namespace Piwik\Plugins\VisitTime;
// empty plugin definition, otherwise plugin won't be installed during test run
class VisitTime extends \Piwik\Plugin
{
- /**
- * @see Piwik\Plugin::registerEvents
- */
- public function registerEvents()
- {
- return array(
- 'Live.getAllVisitorDetails' => 'extendVisitorDetails',
- );
- }
-
- public function extendVisitorDetails(&$visitor, $details)
- {
- $visitor['visitLocalTime'] = $details['visitor_localtime'];
- $visitor['visitLocalHour'] = date('G', strtotime('2012-12-21 ' . $details['visitor_localtime']));
- }
-
}