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

modules/comment/comment.item.php 1 location

@@ 385-395 (lines=11) @@
382
		return zdate($this->get('regdate'), $format);
383
	}
384
385
	function getRegdateTime()
386
	{
387
		$regdate = $this->get('regdate');
388
		$year = substr($regdate, 0, 4);
389
		$month = substr($regdate, 4, 2);
390
		$day = substr($regdate, 6, 2);
391
		$hour = substr($regdate, 8, 2);
392
		$min = substr($regdate, 10, 2);
393
		$sec = substr($regdate, 12, 2);
394
		return mktime($hour, $min, $sec, $month, $day, $year);
395
	}
396
397
	function getRegdateGM()
398
	{

modules/document/document.item.php 1 location

@@ 570-580 (lines=11) @@
567
		return zdate($this->get('regdate'), $format);
568
	}
569
570
	function getRegdateTime()
571
	{
572
		$regdate = $this->get('regdate');
573
		$year = substr($regdate,0,4);
574
		$month = substr($regdate,4,2);
575
		$day = substr($regdate,6,2);
576
		$hour = substr($regdate,8,2);
577
		$min = substr($regdate,10,2);
578
		$sec = substr($regdate,12,2);
579
		return mktime($hour,$min,$sec,$month,$day,$year);
580
	}
581
582
	function getRegdateGM()
583
	{