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

modules/communication/communication.controller.php 1 location

@@ 683-700 (lines=18) @@
680
				return $output;
681
			}
682
		}
683
		else
684
		{
685
			if(!in_array(Context::getRequestMethod(), array('XMLRPC', 'JSON')))
686
			{
687
				global $lang;
688
				htmlHeader();
689
				alertScript($lang->success_registed);
690
				reload(true);
691
				closePopupScript();
692
				htmlFooter();
693
				Context::close();
694
				exit;
695
			}
696
			else
697
			{
698
				$this->setMessage($msg_code);
699
			}
700
		}
701
	}
702
703
	/**

modules/module/module.admin.controller.php 1 location

@@ 245-258 (lines=14) @@
242
			$this->setMessage('success_registed');
243
		}
244
245
		if($isProc)
246
		{
247
			if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON')))
248
			{
249
				global $lang;
250
				htmlHeader();
251
				alertScript($message);
252
				reload(true);
253
				closePopupScript();
254
				htmlFooter();
255
				Context::close();
256
				exit;
257
			}
258
		}
259
260
		return $module_srl;
261
	}