+ [bug#52233,done,0.5h] disable epic story if the mode is light.

This commit is contained in:
liumengyi
2024-07-05 15:50:40 +08:00
committed by 田淑杰
parent 81e6587eaa
commit dec742fc33
+4
View File
@@ -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)