@@ 1101-1106 (lines=6) @@ | ||
1098 | { |
|
1099 | $oModuleModel = getModel('module'); |
|
1100 | $moduleInfo = $oModuleModel->getModuleInfoByMid($node['url']); |
|
1101 | if($menu_srl != $moduleInfo->menu_srl) |
|
1102 | { |
|
1103 | $moduleInfo->menu_srl = $menu_srl; |
|
1104 | $oModuleController = getController('module'); |
|
1105 | $output = $oModuleController->updateModule($moduleInfo); |
|
1106 | } |
|
1107 | } |
|
1108 | ||
1109 | if(count($node['list']) > 0) |
|
@@ 1447-1452 (lines=6) @@ | ||
1444 | { |
|
1445 | $oModuleModel = getModel('module'); |
|
1446 | $moduleInfo = $oModuleModel->getModuleInfoByMid($url); |
|
1447 | if($menu_srl != $moduleInfo->menu_srl) |
|
1448 | { |
|
1449 | $moduleInfo->menu_srl = $menu_srl; |
|
1450 | $oModuleController = getController('module'); |
|
1451 | $output = $oModuleController->updateModule($moduleInfo); |
|
1452 | } |
|
1453 | ||
1454 | // change home menu cache file |
|
1455 | if($url == $this->homeModuleMid) |