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

@@ 1143-1164 (lines=22) @@
1140
	 * Return author's signiture
1141
	 * @return string
1142
	 */
1143
	function getSignature()
1144
	{
1145
		// Pass if a document doesn't exist
1146
		if(!$this->isExists() || !$this->get('member_srl')) return;
1147
		// Get signature information
1148
		$oMemberModel = getModel('member');
1149
		$signature = $oMemberModel->getSignature($this->get('member_srl'));
1150
		// Check if a maximum height of signiture is set in the member module
1151
		if(!isset($GLOBALS['__member_signature_max_height']))
1152
		{
1153
			$oModuleModel = getModel('module');
1154
			$member_config = $oModuleModel->getModuleConfig('member');
1155
			$GLOBALS['__member_signature_max_height'] = $member_config->signature_max_height;
1156
		}
1157
		if($signature)
1158
		{
1159
			$max_signature_height = $GLOBALS['__member_signature_max_height'];
1160
			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);
1161
		}
1162
1163
		return $signature;
1164
	}
1165
1166
	/**
1167
	 * Change an image path in the content to absolute path