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

modules/comment/comment.controller.php 1 location

@@ 104-118 (lines=15) @@
101
	 * Action to be called when a comment posting is reported
102
	 * @return void|BaseObject
103
	 */
104
	function procCommentDeclare()
105
	{
106
		if(!Context::get('is_logged'))
107
		{
108
			return new BaseObject(-1, 'msg_invalid_request');
109
		}
110
111
		$comment_srl = Context::get('target_srl');
112
		if(!$comment_srl)
113
		{
114
			return new BaseObject(-1, 'msg_invalid_request');
115
		}
116
117
		return $this->declaredComment($comment_srl);
118
	}
119
120
	/**
121
	 * Trigger to delete its comments together with document deleted

modules/document/document.controller.php 1 location

@@ 96-104 (lines=9) @@
93
	 * Action called when the post is reported by other member
94
	 * @return void|BaseObject
95
	 */
96
	function procDocumentDeclare()
97
	{
98
		if(!Context::get('is_logged')) return new BaseObject(-1, 'msg_invalid_request');
99
100
		$document_srl = Context::get('target_srl');
101
		if(!$document_srl) return new BaseObject(-1, 'msg_invalid_request');
102
103
		return $this->declaredDocument($document_srl);
104
	}
105
106
	/**
107
	 * Delete alias when module deleted