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

modules/comment/comment.model.php 1 location

@@ 79-84 (lines=6) @@
76
		// call a trigger (after)
77
		ModuleHandler::triggerCall('comment.getCommentMenu', 'after', $menu_list);
78
79
		if($this->grant->manager){
80
			$str_confirm = Context::getLang('confirm_move');
81
			$url = sprintf("if(!confirm('%s')) return; var params = new Array(); params['comment_srl']='%s'; params['mid']=current_mid;params['cur_url']=current_url; exec_xml('comment', 'procCommentAdminMoveToTrash', params)", $str_confirm, $comment_srl);
82
			$oCommentController->addCommentPopupMenu($url,'cmd_trash','','javascript');
83
84
		}
85
86
		// find a comment by IP matching if an administrator.
87
		if($logged_info->is_admin == 'Y')

modules/document/document.model.php 1 location

@@ 553-558 (lines=6) @@
550
		$oDocumentController->addDocumentPopupMenu($url,'cmd_print','','printDocument');
551
		// Call a trigger (after)
552
		ModuleHandler::triggerCall('document.getDocumentMenu', 'after', $menu_list);
553
		if($this->grant->manager)
554
		{
555
			$str_confirm = Context::getLang('confirm_move');
556
			$url = sprintf("if(!confirm('%s')) return; var params = new Array(); params['document_srl']='%s'; params['mid']=current_mid;params['cur_url']=current_url; exec_xml('document', 'procDocumentAdminMoveToTrash', params)", $str_confirm, $document_srl);
557
			$oDocumentController->addDocumentPopupMenu($url,'cmd_trash','','javascript');
558
		}
559
560
		// If you are managing to find posts by ip
561
		if($logged_info->is_admin == 'Y')