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:
authorMatthieu Napoli <matthieu@mnapoli.fr>2015-05-21 15:07:32 +0300
committerMatthieu Napoli <matthieu@mnapoli.fr>2015-05-21 15:07:32 +0300
commit566773f3dc949059f5fea38dc1b6a385aad07f29 (patch)
tree34363a5867f5d8134fa6351c6ed21c628793d685 /plugins/Installation/Controller.php
parent0f199662f035c4cf9b16c7e489411bb3a43c4f5c (diff)
Fix #7924 Reusing a piwik database created a report that it had been updated to the same version
Diffstat (limited to 'plugins/Installation/Controller.php')
-rw-r--r--plugins/Installation/Controller.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Installation/Controller.php b/plugins/Installation/Controller.php
index 67cc5e9bd3..43a40c7feb 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'];