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:
authormattab <matthieu.aubry@gmail.com>2014-02-20 06:33:51 +0400
committermattab <matthieu.aubry@gmail.com>2014-02-20 06:33:51 +0400
commit8082e284e5930dee4930b61a44d7febfbde0b44a (patch)
tree5abc8fe94118220778c0a5f33c8b0caf26ebe28c /core/Updater.php
parent55d3afaf4f930fb228cde7b2d743e55418391f8c (diff)
Fixes #4711 Adding new console command to trigger Piwik core and Plugins upgrades, if any.
Run it via: ./console core:update --dry-run
Diffstat (limited to 'core/Updater.php')
-rw-r--r--core/Updater.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/Updater.php b/core/Updater.php
index f63131aeb1..59587cb19b 100644
--- a/core/Updater.php
+++ b/core/Updater.php
@@ -126,9 +126,9 @@ class Updater
$this->hasMajorDbUpdate = $this->hasMajorDbUpdate || call_user_func(array($className, 'isMajorUpdate'));
}
// unfortunately had to extract this query from the Option class
- $queries[] = 'UPDATE `' . Common::prefixTable('option') . '`
- SET option_value = \'' . $fileVersion . '\'
- WHERE option_name = \'' . self::getNameInOptionTable($componentName) . '\';';
+ $queries[] = 'UPDATE `' . Common::prefixTable('option') . '` '.
+ 'SET option_value = \'' . $fileVersion . '\' '.
+ 'WHERE option_name = \'' . self::getNameInOptionTable($componentName) . '\';';
}
return $queries;
}