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

@@ 467-476 (lines=10) @@
464
	 * @param object $obj Trigger object
465
	 * @return Object
466
	 */
467
	function triggerCheckAttached(&$obj)
468
	{
469
		$document_srl = $obj->document_srl;
470
		if(!$document_srl) return new Object();
471
		// Get numbers of attachments
472
		$oFileModel = getModel('file');
473
		$obj->uploaded_count = $oFileModel->getFilesCount($document_srl);
474
475
		return new Object();
476
	}
477
478
	/**
479
	 * A trigger to link the attachment with the upload_target_srl (document_srl)
@@ 516-525 (lines=10) @@
513
	 * @param object $obj Trigger object
514
	 * @return Object
515
	 */
516
	function triggerCommentCheckAttached(&$obj)
517
	{
518
		$comment_srl = $obj->comment_srl;
519
		if(!$comment_srl) return new Object();
520
		// Get numbers of attachments
521
		$oFileModel = getModel('file');
522
		$obj->uploaded_count = $oFileModel->getFilesCount($comment_srl);
523
524
		return new Object();
525
	}
526
527
	/**
528
	 * A trigger to link the attachment with the upload_target_srl (comment_srl)