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

@@ 1051-1057 (lines=7) @@
1048
		return implode('', $buff);
1049
	}
1050
1051
	function hasUploadedFiles()
1052
	{
1053
		if(!$this->document_srl) return;
1054
1055
		if($this->isSecret() && !$this->isGranted()) return false;
1056
		return $this->get('uploaded_count')? true : false;
1057
	}
1058
1059
	function getUploadedFiles($sortIndex = 'file_srl')
1060
	{