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

modules/trash/trash.admin.controller.php 1 location

@@ 219-228 (lines=10) @@
216
	 * @param array trashSrls
217
	 * @return bool
218
	 */
219
	function _emptyTrash($trashSrls)
220
	{
221
		if(!is_array($trashSrls)) return false;
222
		$args = new stdClass();
223
		$args->trashSrls = $trashSrls;
224
		$output = executeQuery('trash.deleteTrash', $args);
225
		if(!$output->toBool()) return false;
226
227
		return true;
228
	}
229
}
230
/* End of file trash.admin.controller.php */
231
/* Location: ./modules/trash/trash.admin.controller.php */

modules/member/member.model.php 1 location

@@ 867-878 (lines=12) @@
864
	/**
865
	 * @brief Verify if nick name is denied
866
	 */
867
	function isDeniedNickName($nickName)
868
	{
869
		$args = new stdClass();
870
		$args->nick_name = $nickName;
871
		$output = executeQuery('member.chkDeniedNickName', $args);
872
		if($output->data->count) return true;
873
		if(!$output->toBool())
874
		{
875
			return true;
876
		}
877
		return false;
878
	}
879
	/**
880
	 * @brief Get information of the profile image
881
	 */