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

modules/file/file.controller.php 2 locations

@@ 451-460 (lines=10) @@
448
	 * @param object $obj Trigger object
449
	 * @return Object
450
	 */
451
	function triggerCheckAttached(&$obj)
452
	{
453
		$document_srl = $obj->document_srl;
454
		if(!$document_srl) return new Object();
455
		// Get numbers of attachments
456
		$oFileModel = getModel('file');
457
		$obj->uploaded_count = $oFileModel->getFilesCount($document_srl);
458
459
		return new Object();
460
	}
461
462
	/**
463
	 * A trigger to link the attachment with the upload_target_srl (document_srl)
@@ 500-509 (lines=10) @@
497
	 * @param object $obj Trigger object
498
	 * @return Object
499
	 */
500
	function triggerCommentCheckAttached(&$obj)
501
	{
502
		$comment_srl = $obj->comment_srl;
503
		if(!$comment_srl) return new Object();
504
		// Get numbers of attachments
505
		$oFileModel = getModel('file');
506
		$obj->uploaded_count = $oFileModel->getFilesCount($comment_srl);
507
508
		return new Object();
509
	}
510
511
	/**
512
	 * A trigger to link the attachment with the upload_target_srl (comment_srl)