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

modules/editor/editor.controller.php 1 location

@@ 374-382 (lines=9) @@
371
372
		// Get information about log-in status and its group
373
		$is_logged = Context::get('is_logged');
374
		if($is_logged)
375
		{
376
			$logged_info = Context::get('logged_info');
377
			if($logged_info->group_list && is_array($logged_info->group_list))
378
			{
379
				$group_list = array_keys($logged_info->group_list);
380
			}
381
			else $group_list = array();
382
		}
383
384
		// Get xml information for looping DB list
385
		if(!is_array($db_list)) $db_list = array($db_list);

modules/module/module.model.php 1 location

@@ 1991-1999 (lines=9) @@
1988
		// Set variables to grant group permission
1989
		$module_srl = $module_info->module_srl;
1990
		$grant_info = $xml_info->grant;
1991
		if($member_info->member_srl)
1992
		{
1993
			if(is_array($member_info->group_list)) $group_list = array_keys($member_info->group_list);
1994
			else $group_list = array();
1995
		}
1996
		else
1997
		{
1998
			$group_list = array();
1999
		}
2000
		// If module_srl doesn't exist(if unable to set permissions)
2001
		if(!$module_srl)
2002
		{