GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 12-13 lines in 2 locations

modules/module/module.controller.php 2 locations

@@ 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