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 = 29-29 lines in 2 locations

modules/module/module.model.php 2 locations

@@ 1795-1823 (lines=29) @@
1792
	/**
1793
	 * @brief Get skin information of the module
1794
	 */
1795
	function getModuleSkinVars($module_srl)
1796
	{
1797
		$skin_vars = false;
1798
		$oCacheHandler = CacheHandler::getInstance('object', null, true);
1799
		if($oCacheHandler->isSupport())
1800
		{
1801
			$object_key = 'module_skin_vars:'.$module_srl;
1802
			$cache_key = $oCacheHandler->getGroupKey('site_and_module', $object_key);
1803
			$skin_vars = $oCacheHandler->get($cache_key);
1804
		}
1805
1806
		if($skin_vars === false)
1807
		{
1808
			$args = new stdClass();
1809
			$args->module_srl = $module_srl;
1810
			$output = executeQueryArray('module.getModuleSkinVars',$args);
1811
			if(!$output->toBool()) return;
1812
1813
			$skin_vars = array();
1814
			foreach($output->data as $vars)
1815
			{
1816
				$skin_vars[$vars->name] = $vars;
1817
			}
1818
1819
			if($oCacheHandler->isSupport()) $oCacheHandler->put($cache_key, $skin_vars);
1820
		}
1821
1822
		return $skin_vars;
1823
	}
1824
1825
	/**
1826
	 * Get default skin name
@@ 1910-1938 (lines=29) @@
1907
	 * @param $module_srl Sequence of module
1908
	 * @return array
1909
	 */
1910
	function getModuleMobileSkinVars($module_srl)
1911
	{
1912
		$skin_vars = false;
1913
		$oCacheHandler = CacheHandler::getInstance('object', null, true);
1914
		if($oCacheHandler->isSupport())
1915
		{
1916
			$object_key = 'module_mobile_skin_vars:'.$module_srl;
1917
			$cache_key = $oCacheHandler->getGroupKey('site_and_module', $object_key);
1918
			$skin_vars = $oCacheHandler->get($cache_key);
1919
		}
1920
1921
		if($skin_vars === false)
1922
		{
1923
			$args = new stdClass();
1924
			$args->module_srl = $module_srl;
1925
			$output = executeQueryArray('module.getModuleMobileSkinVars',$args);
1926
			if(!$output->toBool() || !$output->data) return;
1927
1928
			$skin_vars = array();
1929
			foreach($output->data as $vars)
1930
			{
1931
				$skin_vars[$vars->name] = $vars;
1932
			}
1933
1934
			if($oCacheHandler->isSupport()) $oCacheHandler->put($cache_key, $skin_vars);
1935
		}
1936
1937
		return $skin_vars;
1938
	}
1939
1940
	/**
1941
	 * Combine skin information with module information