diff --git a/plugins/Installation/Controller.php b/plugins/Installation/Controller.php index 67cc5e9bd349c74aa128b61030361225abcdcff9..43a40c7febad06bd4b2e48ab5a95f273f255fa56 100644 --- a/plugins/Installation/Controller.php +++ b/plugins/Installation/Controller.php @@ -229,13 +229,13 @@ class Controller extends \Piwik\Plugin\ControllerAdmin 'tablesCreation' ); + $oldVersion = Option::get('version_core'); + $result = $this->updateComponents(); if ($result === false) { $this->redirectToNextStep('tablesCreation'); } - $oldVersion = Option::get('version_core'); - $view->coreError = $result['coreError']; $view->warningMessages = $result['warnings']; $view->errorMessages = $result['errors'];