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

@@ 478-487 (lines=10) @@
475
	 * @param object $obj Trigger object
476
	 * @return Object
477
	 */
478
	function triggerCheckAttached(&$obj)
479
	{
480
		$document_srl = $obj->document_srl;
481
		if(!$document_srl) return new Object();
482
		// Get numbers of attachments
483
		$oFileModel = getModel('file');
484
		$obj->uploaded_count = $oFileModel->getFilesCount($document_srl);
485
486
		return new Object();
487
	}
488
489
	/**
490
	 * A trigger to link the attachment with the upload_target_srl (document_srl)
@@ 527-536 (lines=10) @@
524
	 * @param object $obj Trigger object
525
	 * @return Object
526
	 */
527
	function triggerCommentCheckAttached(&$obj)
528
	{
529
		$comment_srl = $obj->comment_srl;
530
		if(!$comment_srl) return new Object();
531
		// Get numbers of attachments
532
		$oFileModel = getModel('file');
533
		$obj->uploaded_count = $oFileModel->getFilesCount($comment_srl);
534
535
		return new Object();
536
	}
537
538
	/**
539
	 * A trigger to link the attachment with the upload_target_srl (comment_srl)