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

modules/comment/comment.item.php 1 location

@@ 428-435 (lines=8) @@
425
		return gmdate("D, d M Y H:i:s", $this->getUpdateTime());
426
	}
427
428
	function hasUploadedFiles()
429
	{
430
		if(($this->isSecret() && !$this->isAccessible()) && !$this->isGranted())
431
		{
432
			return FALSE;
433
		}
434
		return $this->get('uploaded_count') ? TRUE : FALSE;
435
	}
436
437
	function getUploadedFiles()
438
	{

modules/document/document.item.php 1 location

@@ 1013-1019 (lines=7) @@
1010
		return implode('', $buff);
1011
	}
1012
1013
	function hasUploadedFiles()
1014
	{
1015
		if(!$this->document_srl) return;
1016
1017
		if($this->isSecret() && !$this->isGranted()) return false;
1018
		return $this->get('uploaded_count')? true : false;
1019
	}
1020
1021
	function getUploadedFiles($sortIndex = 'file_srl')
1022
	{