| @@ 335-343 (lines=9) @@ | ||
| 332 | if($itemInfo->is_shortcut != 'Y' && strncasecmp('http', $itemInfo->url, 4) !== 0) |
|
| 333 | { |
|
| 334 | $moduleInfo = $oModuleModel->getModuleInfoByMid($itemInfo->url, $menuInfo->site_srl); |
|
| 335 | if($moduleInfo->module_srl) |
|
| 336 | { |
|
| 337 | $output = $oModuleController->onlyDeleteModule($moduleInfo->module_srl); |
|
| 338 | if(!$output->toBool()) |
|
| 339 | { |
|
| 340 | $oDB->rollback(); |
|
| 341 | return $output; |
|
| 342 | } |
|
| 343 | } |
|
| 344 | } |
|
| 345 | } |
|
| 346 | ||
| @@ 979-987 (lines=9) @@ | ||
| 976 | } |
|
| 977 | ||
| 978 | $moduleInfo = $oModuleModel->getModuleInfoByMid($node['url'], $menuInfo->site_srl); |
|
| 979 | if($moduleInfo->module_srl) |
|
| 980 | { |
|
| 981 | $output = $oModuleController->onlyDeleteModule($moduleInfo->module_srl); |
|
| 982 | if(!$output->toBool()) |
|
| 983 | { |
|
| 984 | $oDB->rollback(); |
|
| 985 | return $output; |
|
| 986 | } |
|
| 987 | } |
|
| 988 | } |
|
| 989 | return new BaseObject(0, 'success'); |
|
| 990 | } |
|