| @@ 779-791 (lines=13) @@ | ||
| 776 | /** |
|
| 777 | * @brief Set is_default as N in all modules(the default module is disabled) |
|
| 778 | */ |
|
| 779 | function clearDefaultModule() |
|
| 780 | { |
|
| 781 | $output = executeQuery('module.clearDefaultModule'); |
|
| 782 | if(!$output->toBool()) return $output; |
|
| 783 | ||
| 784 | $oCacheHandler = CacheHandler::getInstance('object', null, true); |
|
| 785 | if($oCacheHandler->isSupport()) |
|
| 786 | { |
|
| 787 | $oCacheHandler->invalidateGroupKey('site_and_module'); |
|
| 788 | } |
|
| 789 | ||
| 790 | return $output; |
|
| 791 | } |
|
| 792 | ||
| 793 | /** |
|
| 794 | * @brief Update menu_srl of mid which belongs to menu_srl |
|
| @@ 796-807 (lines=12) @@ | ||
| 793 | /** |
|
| 794 | * @brief Update menu_srl of mid which belongs to menu_srl |
|
| 795 | */ |
|
| 796 | function updateModuleMenu($args) |
|
| 797 | { |
|
| 798 | $output = executeQuery('module.updateModuleMenu', $args); |
|
| 799 | ||
| 800 | $oCacheHandler = CacheHandler::getInstance('object', null, true); |
|
| 801 | if($oCacheHandler->isSupport()) |
|
| 802 | { |
|
| 803 | $oCacheHandler->invalidateGroupKey('site_and_module'); |
|
| 804 | } |
|
| 805 | ||
| 806 | return $output; |
|
| 807 | } |
|
| 808 | ||
| 809 | /** |
|
| 810 | * @brief Update layout_srl of mid which belongs to menu_srl |
|