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

@@ 459-468 (lines=10) @@
456
	 * @param object $obj Trigger object
457
	 * @return Object
458
	 */
459
	function triggerCheckAttached(&$obj)
460
	{
461
		$document_srl = $obj->document_srl;
462
		if(!$document_srl) return new Object();
463
		// Get numbers of attachments
464
		$oFileModel = getModel('file');
465
		$obj->uploaded_count = $oFileModel->getFilesCount($document_srl);
466
467
		return new Object();
468
	}
469
470
	/**
471
	 * A trigger to link the attachment with the upload_target_srl (document_srl)
@@ 508-517 (lines=10) @@
505
	 * @param object $obj Trigger object
506
	 * @return Object
507
	 */
508
	function triggerCommentCheckAttached(&$obj)
509
	{
510
		$comment_srl = $obj->comment_srl;
511
		if(!$comment_srl) return new Object();
512
		// Get numbers of attachments
513
		$oFileModel = getModel('file');
514
		$obj->uploaded_count = $oFileModel->getFilesCount($comment_srl);
515
516
		return new Object();
517
	}
518
519
	/**
520
	 * A trigger to link the attachment with the upload_target_srl (comment_srl)