diff --git a/core/Updater.php b/core/Updater.php index 0069d1b71bc..692034d5e95 100644 --- a/core/Updater.php +++ b/core/Updater.php @@ -162,10 +162,6 @@ public function getSqlQueriesToExecute() } $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; }