From 21f832d1b8189c257c977f3ac8889ce3bd6bb094 Mon Sep 17 00:00:00 2001 From: Mzhelskiy Maxim Date: Fri, 17 Mar 2017 17:29:04 +0700 Subject: [PATCH] fix #857 install --- .../install/backend/step/updateVersion.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/application/install/backend/step/updateVersion.php b/application/install/backend/step/updateVersion.php index 40ab0f7d..4b34452d 100644 --- a/application/install/backend/step/updateVersion.php +++ b/application/install/backend/step/updateVersion.php @@ -85,6 +85,22 @@ class InstallStepUpdateVersion extends InstallStep return $this->addError(join('
', $aErrors)); } + /** + * Конвертор версии 1.0.3 в 2.0.1 + * + * @param $oDb + * + * @return bool + */ + public function convertFrom_1_0_3_to_2_0_1($oDb) + { + $mResult = $this->convertFrom_1_0_3_to_2_0_0($oDb); + if ($mResult == true) { + $mResult = $this->convertFrom_2_0_0_to_2_0_1($oDb); + } + return $mResult; + } + /** * Конвертор версии 1.0.3 в 2.0.0 *