From dec742fc33cd6855d3972c26590708ea4faec801 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Fri, 5 Jul 2024 15:42:39 +0800 Subject: [PATCH] + [bug#52233,done,0.5h] disable epic story if the mode is light. --- module/upgrade/model.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/module/upgrade/model.php b/module/upgrade/model.php index 7f7477fa47..ec80b1fbf1 100644 --- a/module/upgrade/model.php +++ b/module/upgrade/model.php @@ -8996,6 +8996,10 @@ class upgradeModel extends model */ public function addERName() { + /* If the mode is light, disable the epic story. */ + /* 如果是轻量模式,禁用业务需求。 */ + if($this->config->mode == 'light') $this->loadModel('setting')->setItem('system.common.enableER', '0'); + $lang = $this->app->getClientLang(); $URSRList = $this->dao->select('*')->from(TABLE_LANG)