diff options
author | Nathan Sollenberger <nsollenberger@gmail.com> | 2015-05-12 06:31:28 +0300 |
---|---|---|
committer | Nathan Sollenberger <nsollenberger@gmail.com> | 2015-05-12 06:31:28 +0300 |
commit | ecb9334f01097540b21649a41343b87e2dd2579d (patch) | |
tree | 4a92f2c4888cc2e0539e40c5d4896c6fb58c4105 /plugins/Ecommerce | |
parent | 27c59061eaf9a76d4ab319a2ca357aab379f6ed4 (diff) |
Add \Piwik\Plugins\Goals\TranslationHelper to Ecommerce plugin
Diffstat (limited to 'plugins/Ecommerce')
-rw-r--r-- | plugins/Ecommerce/Controller.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/Ecommerce/Controller.php b/plugins/Ecommerce/Controller.php index b1ce7cdd4a..7cfb955184 100644 --- a/plugins/Ecommerce/Controller.php +++ b/plugins/Ecommerce/Controller.php @@ -14,6 +14,7 @@ use Piwik\FrontController; use Piwik\Piwik; use Piwik\Translation\Translator; use Piwik\View; +use Piwik\Plugins\Goals\TranslationHelper; class Controller extends \Piwik\Plugins\Goals\Controller { @@ -22,11 +23,11 @@ class Controller extends \Piwik\Plugins\Goals\Controller */ private $translator; - public function __construct(Translator $translator) + public function __construct(Translator $translator, TranslationHelper $translationHelper) { $this->translator = $translator; - parent::__construct($translator); + parent::__construct($translator, $translationHelper); } public function ecommerceReport() |