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:
authormattab <matthieu.aubry@gmail.com>2013-11-05 03:25:11 +0400
committermattab <matthieu.aubry@gmail.com>2013-11-05 03:25:11 +0400
commite8bec0896a46eb883f971bdffe8a7f15e4a1381a (patch)
tree9c304f3bdd9ffad94cbfcb839a8a7722b46a55e1 /plugins/VisitorInterest/VisitorInterest.php
parent2bf4ee763c8be29286b45c9118737d41a584119d (diff)
Refs #4278 Remove Archiver hooks and the classes Archiver will be automatically detected.
Diffstat (limited to 'plugins/VisitorInterest/VisitorInterest.php')
-rw-r--r--plugins/VisitorInterest/VisitorInterest.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/plugins/VisitorInterest/VisitorInterest.php b/plugins/VisitorInterest/VisitorInterest.php
index 4a3288d35e..dd3c83aaa4 100644
--- a/plugins/VisitorInterest/VisitorInterest.php
+++ b/plugins/VisitorInterest/VisitorInterest.php
@@ -33,8 +33,6 @@ class VisitorInterest extends \Piwik\Plugin
public function getListHooksRegistered()
{
$hooks = array(
- 'ArchiveProcessor.aggregateDayReport' => 'aggregateDayReport',
- 'ArchiveProcessor.aggregateMultipleReports' => 'aggregateMultipleReports',
'WidgetsList.addWidgets' => 'addWidgets',
'Menu.Reporting.addItems' => 'addMenu',
'API.getReportMetadata' => 'getReportMetadata',
@@ -125,22 +123,6 @@ class VisitorInterest extends \Piwik\Plugin
Piwik::addAction('Template.footerVisitsFrequency', array('Piwik\Plugins\VisitorInterest\VisitorInterest', 'footerVisitsFrequency'));
}
- public function aggregateMultipleReports(ArchiveProcessor\Aggregator $archiveProcessor)
- {
- $archiving = new Archiver($archiveProcessor);
- if ($archiving->shouldArchive()) {
- $archiving->aggregateMultipleReports();
- }
- }
-
- public function aggregateDayReport(ArchiveProcessor\Day $archiveProcessor)
- {
- $archiving = new Archiver($archiveProcessor);
- if ($archiving->shouldArchive()) {
- $archiving->aggregateDayReport();
- }
- }
-
static public function headerVisitsFrequency(&$out)
{
$out = '<div id="leftcolumn">';