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-12-01 10:07:58 +0300
committermattab <matthieu.aubry@gmail.com>2014-12-01 10:07:58 +0300
commit1b45f9537ae8c13bd642e73458f4c020f96a160a (patch)
tree124d93ef2077dbeeda673478ddb3d64f937e41e4 /core/Updater.php
parent133a448f2c407acf1319bbfbaf77f5e91ce5a323 (diff)
fixes #6760 Remove the last query, partial revert of original implementation59925362d527fbd051a4e12113abcab282983436
Diffstat (limited to 'core/Updater.php')
-rw-r--r--core/Updater.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/Updater.php b/core/Updater.php
index 0069d1b71b..692034d5e9 100644
--- a/core/Updater.php
+++ b/core/Updater.php
@@ -162,10 +162,6 @@ 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) . '\';';
}
return $queries;
}