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

modules/layout/layout.model.php 2 locations

@@ 830-841 (lines=12) @@
827
	 * @param int $layout_srl
828
	 * @return string
829
	 */
830
	function getUserLayoutHtml($layout_srl)
831
	{
832
		$src = $this->getUserLayoutPath($layout_srl). 'layout.html';
833
		if($this->useUserLayoutTemp == 'temp')
834
		{
835
			$temp = $this->getUserLayoutTempHtml($layout_srl);
836
			if(FileHandler::exists($temp) === FALSE) FileHandler::copyFile($src,$temp);
837
			return $temp;
838
		}
839
840
		return $src;
841
	}
842
843
	/**
844
	 * user layout tmp html
@@ 858-869 (lines=12) @@
855
	 * @param int $layout_srl
856
	 * @return string
857
	 */
858
	function getUserLayoutIni($layout_srl)
859
	{
860
		$src = $this->getUserLayoutPath($layout_srl). 'layout.ini';
861
		if($this->useUserLayoutTemp == 'temp')
862
		{
863
			$temp = $this->getUserLayoutTempIni($layout_srl);
864
			if(!file_exists(FileHandler::getRealPath($temp))) FileHandler::copyFile($src,$temp);
865
			return $temp;
866
		}
867
868
		return $src;
869
	}
870
871
	/**
872
	 * user layout tmp ini