From 9585ddbba84c09609a5ae31fa5e2191851d01873 Mon Sep 17 00:00:00 2001 From: Dennis Garding Date: Wed, 11 Jan 2017 11:04:05 +0100 Subject: [PATCH] SW-17166 - log installer language --- recovery/install/src/Command/InstallCommand.php | 7 ++++++- recovery/install/src/app.php | 8 +++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/recovery/install/src/Command/InstallCommand.php b/recovery/install/src/Command/InstallCommand.php index 4238a476c58..57d27d8d58b 100644 --- a/recovery/install/src/Command/InstallCommand.php +++ b/recovery/install/src/Command/InstallCommand.php @@ -332,7 +332,12 @@ protected function execute(InputInterface $input, OutputInterface $output) $systemLocker(); $container->offsetGet('uniqueid.persister')->store(); - $container->offsetGet('shopware.notify')->doTrackEvent('Installer finished'); + + $additionalInformation = [ + 'method' => 'console' + ]; + + $container->offsetGet('shopware.notify')->doTrackEvent('Installer finished', $additionalInformation); if ($this->IOHelper->isInteractive()) { $this->IOHelper->writeln("Shop successfully installed."); diff --git a/recovery/install/src/app.php b/recovery/install/src/app.php index 5b3ff56a752..8f81cb333ce 100644 --- a/recovery/install/src/app.php +++ b/recovery/install/src/app.php @@ -453,7 +453,13 @@ function prefixSessionVars(\Slim\Slim $app) $systemLocker(); $container['uniqueid.persister']->store(); - $container['shopware.notify']->doTrackEvent('Installer finished'); + + $additionalInformation = [ + 'language' => $container->offsetGet('install.language'), + 'method' => 'installer' + ]; + + $container->offsetGet('shopware.notify')->doTrackEvent('Installer finished', $additionalInformation); $app->render( "finish.php",