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

modules/board/board.view.php 2 locations

@@ 692-695 (lines=4) @@
689
		if($oDocument->get('module_srl') == $oDocument->get('member_srl')) $savedDoc = TRUE;
690
		$oDocument->add('module_srl', $this->module_srl);
691
692
		if($oDocument->isExists() && $this->module_info->protect_content=="Y" && $oDocument->get('comment_count')>0 && $this->grant->manager==false)
693
		{
694
			return new Object(-1, 'msg_protect_content');
695
		}
696
697
		// if the document is not granted, then back to the password input form
698
		$oModuleModel = getModel('module');
@@ 802-805 (lines=4) @@
799
			return $this->setTemplateFile('input_password_form');
800
		}
801
802
		if($this->module_info->protect_content=="Y" && $oDocument->get('comment_count')>0 && $this->grant->manager==false)
803
		{
804
			return $this->dispBoardMessage('msg_protect_content');
805
		}
806
807
		Context::set('oDocument',$oDocument);
808

modules/board/board.controller.php 2 locations

@@ 115-118 (lines=4) @@
112
				$oDocument->add('member_srl', $obj->member_srl);
113
			}
114
115
			if($this->module_info->protect_content=="Y" && $oDocument->get('comment_count')>0 && $this->grant->manager==false)
116
			{
117
				return new Object(-1,'msg_protect_content');
118
			}
119
120
			if(!$this->grant->manager)
121
			{
@@ 197-200 (lines=4) @@
194
		$oDocumentModel = &getModel('document');
195
		$oDocument = $oDocumentModel->getDocument($document_srl);
196
		// check protect content
197
		if($this->module_info->protect_content=="Y" && $oDocument->get('comment_count')>0 && $this->grant->manager==false)
198
		{
199
			return new Object(-1, 'msg_protect_content');
200
		}
201
202
		// generate document module controller object
203
		$oDocumentController = getController('document');