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

@@ 1065-1071 (lines=7) @@
1062
		return implode('', $buff);
1063
	}
1064
1065
	function hasUploadedFiles()
1066
	{
1067
		if(!$this->document_srl) return;
1068
1069
		if($this->isSecret() && !$this->isGranted()) return false;
1070
		return $this->get('uploaded_count')? true : false;
1071
	}
1072
1073
	function getUploadedFiles($sortIndex = 'file_srl')
1074
	{