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:
authorThomas Steur <thomas.steur@gmail.com>2015-09-09 11:39:09 +0300
committerThomas Steur <thomas.steur@gmail.com>2015-09-09 11:39:09 +0300
commit65353d7bac8a90bf05545c0ecd693d81b684f9e2 (patch)
treee177dff41f50f1b1f2541c386ecec43bdb933121 /plugins/BulkTracking
parentc983e4fce1958cd6e42cec69f5a5056617353788 (diff)
refs #8565 #8503 #8567 refactored/removed some code to not use deprecated APIs / events for 3.0
Diffstat (limited to 'plugins/BulkTracking')
-rw-r--r--plugins/BulkTracking/BulkTracking.php4
-rw-r--r--plugins/BulkTracking/tests/Integration/BulkTrackingTest.php6
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins/BulkTracking/BulkTracking.php b/plugins/BulkTracking/BulkTracking.php
index b55a681030..c05f5dc513 100644
--- a/plugins/BulkTracking/BulkTracking.php
+++ b/plugins/BulkTracking/BulkTracking.php
@@ -19,9 +19,9 @@ class BulkTracking extends \Piwik\Plugin
private $requests;
/**
- * @see Piwik\Plugin::getListHooksRegistered
+ * @see Piwik\Plugin::registerEvents
*/
- public function getListHooksRegistered()
+ public function registerEvents()
{
return array(
'Tracker.newHandler' => 'setHandlerIfBulkRequest',
diff --git a/plugins/BulkTracking/tests/Integration/BulkTrackingTest.php b/plugins/BulkTracking/tests/Integration/BulkTrackingTest.php
index c495afcee1..3c3366ea9d 100644
--- a/plugins/BulkTracking/tests/Integration/BulkTrackingTest.php
+++ b/plugins/BulkTracking/tests/Integration/BulkTrackingTest.php
@@ -118,7 +118,7 @@ class BulkTrackingTest extends BulkTrackingTestCase
$this->assertNull($handler);
}
- public function test_getListHooksRegistered_shouldListenToNewTrackerEventAndCreateBulkHandler_IfBulkRequest()
+ public function test_registerEvents_shouldListenToNewTrackerEventAndCreateBulkHandler_IfBulkRequest()
{
$this->injectRawDataToBulk($this->getDummyRequest());
@@ -127,14 +127,14 @@ class BulkTrackingTest extends BulkTrackingTestCase
$this->assertTrue($handler instanceof Handler);
}
- public function test_getListHooksRegistered_shouldListenToNewTrackerEventAndNotCreateBulkHandler_IfNotBulkRequest()
+ public function test_registerEvents_shouldListenToNewTrackerEventAndNotCreateBulkHandler_IfNotBulkRequest()
{
$handler = DefaultHandler\Factory::make();
$this->assertTrue($handler instanceof DefaultHandler);
}
- public function test_getListHooksRegistered_shouldListenToInitRequestSetEventAndInit_IfBulkRequest()
+ public function test_registerEvents_shouldListenToInitRequestSetEventAndInit_IfBulkRequest()
{
$this->injectRawDataToBulk($this->getDummyRequest());