From 1b45f9537ae8c13bd642e73458f4c020f96a160a Mon Sep 17 00:00:00 2001 From: mattab Date: Mon, 1 Dec 2014 20:07:58 +1300 Subject: fixes #6760 Remove the last query, partial revert of original implementation59925362d527fbd051a4e12113abcab282983436 --- core/Updater.php | 4 ---- 1 file changed, 4 deletions(-) (limited to 'core/Updater.php') 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; } -- cgit v1.2.3