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:
authordiosmosis <benaka@piwik.pro>2015-09-18 11:49:25 +0300
committerdiosmosis <benaka@piwik.pro>2015-09-18 11:49:25 +0300
commitec9ba706e2d39adde233df1fc418588cc39b83c1 (patch)
treea55ce24a135ee9a3a316e655c97daa2ae2cab90a /tests/PHPUnit/Framework/Fixture.php
parent556aa0c1240c9fb29d21c260aa4e1568e67fb0e1 (diff)
Add event that allows plugins to archive data even if there are no visits for the period. Undocumented for now.
Diffstat (limited to 'tests/PHPUnit/Framework/Fixture.php')
-rw-r--r--tests/PHPUnit/Framework/Fixture.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/PHPUnit/Framework/Fixture.php b/tests/PHPUnit/Framework/Fixture.php
index 3d53b796d8..391e5ef896 100644
--- a/tests/PHPUnit/Framework/Fixture.php
+++ b/tests/PHPUnit/Framework/Fixture.php
@@ -10,6 +10,7 @@ namespace Piwik\Tests\Framework;
use Piwik\Access;
use Piwik\Application\Environment;
use Piwik\Archive;
+use Piwik\ArchiveProcessor\PluginsArchiver;
use Piwik\Auth;
use Piwik\Cache\Backend\File;
use Piwik\Cache as PiwikCache;
@@ -352,6 +353,7 @@ class Fixture extends \PHPUnit_Framework_Assert
ArchiveTableCreator::clear();
\Piwik\Plugins\ScheduledReports\API::$cache = array();
Singleton::clearAll();
+ PluginsArchiver::$archivers = array();
$_GET = $_REQUEST = array();
Translate::reset();