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

modules/comment/comment.item.php 1 location

@@ 493-521 (lines=29) @@
490
	 * Return author's signiture
491
	 * @return string
492
	 */
493
	function getSignature()
494
	{
495
		// pass if the posting not exists.
496
		if(!$this->isExists() || !$this->get('member_srl'))
497
		{
498
			return;
499
		}
500
501
		// get the signiture information
502
		$oMemberModel = getModel('member');
503
		$signature = $oMemberModel->getSignature($this->get('member_srl'));
504
505
		// check if max height of the signiture is specified on the member module
506
		if(!isset($GLOBALS['__member_signature_max_height']))
507
		{
508
			$oModuleModel = getModel('module');
509
			$member_config = $oModuleModel->getModuleConfig('member');
510
			$GLOBALS['__member_signature_max_height'] = $member_config->signature_max_height;
511
		}
512
513
		$max_signature_height = $GLOBALS['__member_signature_max_height'];
514
515
		if($max_signature_height)
516
		{
517
			$signature = sprintf('<div style="max-height:%dpx;overflow:auto;overflow-x:hidden;height:expression(this.scrollHeight > %d ? \'%dpx\': \'auto\')">%s</div>', $max_signature_height, $max_signature_height, $max_signature_height, $signature);
518
		}
519
520
		return $signature;
521
	}
522
523
	function thumbnailExists($width = 80, $height = 0, $type = '')
524
	{

modules/document/document.item.php 1 location

@@ 1142-1163 (lines=22) @@
1139
	 * Return author's signiture
1140
	 * @return string
1141
	 */
1142
	function getSignature()
1143
	{
1144
		// Pass if a document doesn't exist
1145
		if(!$this->isExists() || !$this->get('member_srl')) return;
1146
		// Get signature information
1147
		$oMemberModel = getModel('member');
1148
		$signature = $oMemberModel->getSignature($this->get('member_srl'));
1149
		// Check if a maximum height of signiture is set in the member module
1150
		if(!isset($GLOBALS['__member_signature_max_height']))
1151
		{
1152
			$oModuleModel = getModel('module');
1153
			$member_config = $oModuleModel->getModuleConfig('member');
1154
			$GLOBALS['__member_signature_max_height'] = $member_config->signature_max_height;
1155
		}
1156
		if($signature)
1157
		{
1158
			$max_signature_height = $GLOBALS['__member_signature_max_height'];
1159
			if($max_signature_height) $signature = sprintf('<div style="max-height:%dpx;overflow:auto;overflow-x:hidden;height:expression(this.scrollHeight > %d ? \'%dpx\': \'auto\')">%s</div>', $max_signature_height, $max_signature_height, $max_signature_height, $signature);
1160
		}
1161
1162
		return $signature;
1163
	}
1164
1165
	/**
1166
	 * Change an image path in the content to absolute path