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

modules/comment/comment.model.php 1 location

@@ 87-101 (lines=15) @@
84
		}
85
86
		// find a comment by IP matching if an administrator.
87
		if($logged_info->is_admin == 'Y')
88
		{
89
			$oCommentModel = getModel('comment');
90
			$oComment = $oCommentModel->getComment($comment_srl);
91
92
			if($oComment->isExists())
93
			{
94
				// Find a post of the corresponding ip address
95
				$url = getUrl('', 'module', 'admin', 'act', 'dispCommentAdminList', 'search_target', 'ipaddress', 'search_keyword', $oComment->getIpAddress());
96
				$oCommentController->addCommentPopupMenu($url, 'cmd_search_by_ipaddress', $icon_path, 'TraceByIpaddress');
97
98
				$url = sprintf("var params = new Array(); params['ipaddress_list']='%s'; exec_xml('spamfilter', 'procSpamfilterAdminInsertDeniedIP', params, completeCallModuleAction)", $oComment->getIpAddress());
99
				$oCommentController->addCommentPopupMenu($url, 'cmd_add_ip_to_spamfilter', '', 'javascript');
100
			}
101
		}
102
103
		// Changing a language of pop-up menu
104
		$menus = Context::get('comment_popup_menu_list');

modules/document/document.model.php 1 location

@@ 561-575 (lines=15) @@
558
		}
559
560
		// If you are managing to find posts by ip
561
		if($logged_info->is_admin == 'Y')
562
		{
563
			$oDocumentModel = getModel('document');
564
			$oDocument = $oDocumentModel->getDocument($document_srl);	//before setting document recycle
565
566
			if($oDocument->isExists())
567
			{
568
				// Find a post equivalent to ip address
569
				$url = getUrl('','module','admin','act','dispDocumentAdminList','search_target','ipaddress','search_keyword',$oDocument->getIpAddress());
570
				$oDocumentController->addDocumentPopupMenu($url,'cmd_search_by_ipaddress',$icon_path,'TraceByIpaddress');
571
572
				$url = sprintf("var params = new Array(); params['ipaddress_list']='%s'; exec_xml('spamfilter', 'procSpamfilterAdminInsertDeniedIP', params, completeCallModuleAction)", $oDocument->getIpAddress());
573
				$oDocumentController->addDocumentPopupMenu($url,'cmd_add_ip_to_spamfilter','','javascript');
574
			}
575
		}
576
		// Changing the language of pop-up menu
577
		$menus = Context::get('document_popup_menu_list');
578
		$menus_count = count($menus);