@@ 807-819 (lines=13) @@ | ||
804 | /** |
|
805 | * @brief Set is_default as N in all modules(the default module is disabled) |
|
806 | */ |
|
807 | function clearDefaultModule() |
|
808 | { |
|
809 | $output = executeQuery('module.clearDefaultModule'); |
|
810 | if(!$output->toBool()) return $output; |
|
811 | ||
812 | $oCacheHandler = CacheHandler::getInstance('object', null, true); |
|
813 | if($oCacheHandler->isSupport()) |
|
814 | { |
|
815 | $oCacheHandler->invalidateGroupKey('site_and_module'); |
|
816 | } |
|
817 | ||
818 | return $output; |
|
819 | } |
|
820 | ||
821 | /** |
|
822 | * @brief Update menu_srl of mid which belongs to menu_srl |
|
@@ 824-835 (lines=12) @@ | ||
821 | /** |
|
822 | * @brief Update menu_srl of mid which belongs to menu_srl |
|
823 | */ |
|
824 | function updateModuleMenu($args) |
|
825 | { |
|
826 | $output = executeQuery('module.updateModuleMenu', $args); |
|
827 | ||
828 | $oCacheHandler = CacheHandler::getInstance('object', null, true); |
|
829 | if($oCacheHandler->isSupport()) |
|
830 | { |
|
831 | $oCacheHandler->invalidateGroupKey('site_and_module'); |
|
832 | } |
|
833 | ||
834 | return $output; |
|
835 | } |
|
836 | ||
837 | /** |
|
838 | * @brief Update layout_srl of mid which belongs to menu_srl |