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 <tsteur@users.noreply.github.com>2016-09-01 09:28:13 +0300
committerGitHub <noreply@github.com>2016-09-01 09:28:13 +0300
commit9efc7341f98058bbe37f70d0a93e9ea47d7caf4c (patch)
tree7373a34dc9dc8850f70c315d597933e3f03f0766 /core/Tracker/GoalManager.php
parentca0bc1077618db213ffa2e83959c2c47cec9357e (diff)
Remove deprecated events (#10455)
* remove some deprecated events * fix unit tests wants to establish a DB connection, read it from cache * fix possible bug * fix some integration tests * fix tests * fix category was not set * fix some tests * fix integration test * trying to fix pivot tests * add new events * update submodule
Diffstat (limited to 'core/Tracker/GoalManager.php')
-rw-r--r--core/Tracker/GoalManager.php31
1 files changed, 1 insertions, 30 deletions
diff --git a/core/Tracker/GoalManager.php b/core/Tracker/GoalManager.php
index 3e1312fef3..3721957732 100644
--- a/core/Tracker/GoalManager.php
+++ b/core/Tracker/GoalManager.php
@@ -342,22 +342,6 @@ class GoalManager
if ($recorded) {
$this->recordEcommerceItems($conversion, $items);
}
-
- /**
- * Triggered after successfully persisting an ecommerce conversion.
- *
- * _Note: Subscribers should be wary of doing any expensive computation here as it may slow
- * the tracker down._
- *
- * This event is deprecated, use [Dimensions](http://developer.piwik.org/guides/dimensions) instead.
- *
- * @param array $conversion The conversion entity that was just persisted. See what information
- * it contains [here](/guides/persistence-and-the-mysql-backend#conversions).
- * @param array $visitInformation The visit entity that we are tracking a conversion for. See what
- * information it contains [here](/guides/persistence-and-the-mysql-backend#visits).
- * @deprecated
- */
- Piwik::postEvent('Tracker.recordEcommerceGoal', array($conversion, $visitProperties->getProperties()));
}
/**
@@ -693,20 +677,6 @@ class GoalManager
$conversion = $this->triggerHookOnDimensions($request, $conversionDimensions, 'onGoalConversion', $visitor, $action, $conversion);
$this->insertNewConversion($conversion, $visitProperties->getProperties(), $request);
-
- /**
- * Triggered after successfully recording a non-ecommerce conversion.
- *
- * _Note: Subscribers should be wary of doing any expensive computation here as it may slow
- * the tracker down._
- *
- * This event is deprecated, use [Dimensions](http://developer.piwik.org/guides/dimensions) instead.
- *
- * @param array $conversion The conversion entity that was just persisted. See what information
- * it contains [here](/guides/persistence-and-the-mysql-backend#conversions).
- * @deprecated
- */
- Piwik::postEvent('Tracker.recordStandardGoals', array($conversion));
}
}
@@ -732,6 +702,7 @@ class GoalManager
* information it contains [here](/guides/persistence-and-the-mysql-backend#visits).
* @param \Piwik\Tracker\Request $request An object describing the tracking request being processed.
* @deprecated
+ * @ignore
*/
Piwik::postEvent('Tracker.newConversionInformation', array(&$conversion, $visitInformation, $request));