diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-02-20 06:33:51 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-02-20 06:33:51 +0400 |
commit | 8082e284e5930dee4930b61a44d7febfbde0b44a (patch) | |
tree | 5abc8fe94118220778c0a5f33c8b0caf26ebe28c /core/Updater.php | |
parent | 55d3afaf4f930fb228cde7b2d743e55418391f8c (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.php | 6 |
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; } |