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:
authorsgiehl <stefan@matomo.org>2020-03-16 15:12:52 +0300
committersgiehl <stefan@matomo.org>2020-03-16 17:24:12 +0300
commite493fee87c983e02001a7d9438cefe58141a38af (patch)
tree6c8f97e69b7cac83f9bb0b670d658e4c871d4d79 /plugins/Goals
parentf8c78e5f5f5c63ef660e1bb36fa059b59a1f7976 (diff)
parent7c1d70583ba18a5ec34b691bc7ca0862b8db17a1 (diff)
Merge branch '3.x-dev' into 4.x-dev
Diffstat (limited to 'plugins/Goals')
-rw-r--r--plugins/Goals/Controller.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/plugins/Goals/Controller.php b/plugins/Goals/Controller.php
index 9da9138fa3..3367fcaf93 100644
--- a/plugins/Goals/Controller.php
+++ b/plugins/Goals/Controller.php
@@ -24,17 +24,12 @@ use Piwik\View;
*/
class Controller extends \Piwik\Plugin\Controller
{
- const CONVERSION_RATE_PRECISION = 1;
-
/**
* Number of "Your top converting keywords/etc are" to display in the per Goal overview page
* @var int
*/
const COUNT_TOP_ROWS_TO_DISPLAY = 3;
- const ECOMMERCE_LOG_SHOW_ORDERS = 1;
- const ECOMMERCE_LOG_SHOW_ABANDONED_CARTS = 2;
-
protected $goalColumnNameToLabel = array(
'avg_order_revenue' => 'General_AverageOrderValue',
'nb_conversions' => 'Goals_ColumnConversions',
@@ -59,10 +54,6 @@ class Controller extends \Piwik\Plugin\Controller
}
}
- if (!is_numeric($conversionRate)) {
- $conversionRate = sprintf('%.' . self::CONVERSION_RATE_PRECISION . 'f%%', $conversionRate);
- }
-
return $conversionRate;
}