From 265021709c422b1bdabacffa3ba23f3f007db672 Mon Sep 17 00:00:00 2001 From: sunguangming Date: Wed, 21 Jan 2026 07:08:10 +0000 Subject: [PATCH] * [bug#69262,done,0.2h] fix bug. --- module/upgrade/model.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/module/upgrade/model.php b/module/upgrade/model.php index 03e55df5c8..a6086f90a4 100644 --- a/module/upgrade/model.php +++ b/module/upgrade/model.php @@ -13280,6 +13280,16 @@ class upgradeModel extends model public function disableFeaturesByMode(): bool { if($this->config->systemMode != 'light') return true; + if($this->config->edition == 'ipd') + { + $disabledFeatures = $this->dao->select('value')->from(TABLE_CONFIG)->where('`key`')->eq('disabledFeatures')->andWhere('owner')->eq('system')->fetch('value'); + if($disabledFeatures) + { + $disabledFeatures = str_replace(',waterfallplus', '', $disabledFeatures); + $this->dao->update(TABLE_CONFIG)->set('value')->eq($disabledFeatures)->where('`key`')->eq('disabledFeatures')->andWhere('owner')->eq('system')->exec(); + } + return true; + } $this->loadModel('custom')->disableFeaturesByMode('light'); return true;