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

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

@@ 850-858 (lines=9) @@
847
		$args = new stdClass();
848
849
		// Get the language file of the current site
850
		if(!$site_srl)
851
		{
852
			$site_module_info = Context::get('site_module_info');
853
			$args->site_srl = (int)$site_module_info->site_srl;
854
		}
855
		else
856
		{
857
			$args->site_srl = $site_srl;
858
		}
859
		$output = executeQueryArray('module.getLang', $args);
860
		if(!$output->toBool() || !$output->data) return;
861

modules/module/module.model.php 1 location

@@ 1698-1707 (lines=10) @@
1695
		if($member_info->is_admin == 'Y') return true;
1696
1697
		$args = new stdClass();
1698
		if(!isset($site_srl))
1699
		{
1700
			$site_module_info = Context::get('site_module_info');
1701
			if(!$site_module_info) return;
1702
			$args->site_srl = $site_module_info->site_srl;
1703
		}
1704
		else
1705
		{
1706
			$args->site_srl = $site_srl;
1707
		}
1708
1709
		$args->member_srl = $member_info->member_srl;
1710
		$output = executeQuery('module.isSiteAdmin', $args);