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

@@ 795-807 (lines=13) @@
792
	/**
793
	 * @brief Set is_default as N in all modules(the default module is disabled)
794
	 */
795
	function clearDefaultModule()
796
	{
797
		$output = executeQuery('module.clearDefaultModule');
798
		if(!$output->toBool()) return $output;
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 menu_srl of mid which belongs to menu_srl
@@ 812-823 (lines=12) @@
809
	/**
810
	 * @brief Update menu_srl of mid which belongs to menu_srl
811
	 */
812
	function updateModuleMenu($args)
813
	{
814
		$output = executeQuery('module.updateModuleMenu', $args);
815
816
		$oCacheHandler = CacheHandler::getInstance('object', null, true);
817
		if($oCacheHandler->isSupport())
818
		{
819
			$oCacheHandler->invalidateGroupKey('site_and_module');
820
		}
821
822
		return $output;
823
	}
824
825
	/**
826
	 * @brief Update layout_srl of mid which belongs to menu_srl