From fe43058319c70b8fda9021bc97f7ae412de48bd0 Mon Sep 17 00:00:00 2001 From: zhouxin Date: Sun, 8 Oct 2023 10:38:11 +0800 Subject: [PATCH] * Upgrade basicmeas when edition is max or ipd. --- module/upgrade/model.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/module/upgrade/model.php b/module/upgrade/model.php index 1cef9f10b4..847b6338d4 100644 --- a/module/upgrade/model.php +++ b/module/upgrade/model.php @@ -703,10 +703,7 @@ class upgradeModel extends model $this->removeProductLineRequired(); break; case '18_7': - if(!in_array($this->config->edition, array('max', 'ipd'))) - { - $this->processOldMetrics(); - } + if(in_array($this->config->edition, array('max', 'ipd'))) $this->processOldMetrics(); $this->processHistoryDataForMetric(); break; }