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

@@ 1820-1848 (lines=29) @@
1817
	/**
1818
	 * @brief Get skin information of the module
1819
	 */
1820
	function getModuleSkinVars($module_srl)
1821
	{
1822
		$skin_vars = false;
1823
		$oCacheHandler = CacheHandler::getInstance('object', null, true);
1824
		if($oCacheHandler->isSupport())
1825
		{
1826
			$object_key = 'module_skin_vars:'.$module_srl;
1827
			$cache_key = $oCacheHandler->getGroupKey('site_and_module', $object_key);
1828
			$skin_vars = $oCacheHandler->get($cache_key);
1829
		}
1830
1831
		if($skin_vars === false)
1832
		{
1833
			$args = new stdClass();
1834
			$args->module_srl = $module_srl;
1835
			$output = executeQueryArray('module.getModuleSkinVars',$args);
1836
			if(!$output->toBool()) return;
1837
1838
			$skin_vars = array();
1839
			foreach($output->data as $vars)
1840
			{
1841
				$skin_vars[$vars->name] = $vars;
1842
			}
1843
1844
			if($oCacheHandler->isSupport()) $oCacheHandler->put($cache_key, $skin_vars);
1845
		}
1846
1847
		return $skin_vars;
1848
	}
1849
1850
	/**
1851
	 * Get default skin name
@@ 1935-1963 (lines=29) @@
1932
	 * @param $module_srl Sequence of module
1933
	 * @return array
1934
	 */
1935
	function getModuleMobileSkinVars($module_srl)
1936
	{
1937
		$skin_vars = false;
1938
		$oCacheHandler = CacheHandler::getInstance('object', null, true);
1939
		if($oCacheHandler->isSupport())
1940
		{
1941
			$object_key = 'module_mobile_skin_vars:'.$module_srl;
1942
			$cache_key = $oCacheHandler->getGroupKey('site_and_module', $object_key);
1943
			$skin_vars = $oCacheHandler->get($cache_key);
1944
		}
1945
1946
		if($skin_vars === false)
1947
		{
1948
			$args = new stdClass();
1949
			$args->module_srl = $module_srl;
1950
			$output = executeQueryArray('module.getModuleMobileSkinVars',$args);
1951
			if(!$output->toBool() || !$output->data) return;
1952
1953
			$skin_vars = array();
1954
			foreach($output->data as $vars)
1955
			{
1956
				$skin_vars[$vars->name] = $vars;
1957
			}
1958
1959
			if($oCacheHandler->isSupport()) $oCacheHandler->put($cache_key, $skin_vars);
1960
		}
1961
1962
		return $skin_vars;
1963
	}
1964
1965
	/**
1966
	 * Combine skin information with module information