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/board/board.view.php 1 location

@@ 653-661 (lines=9) @@
650
		if($this->module_info->use_category=='Y')
651
		{
652
			// get the user group information
653
			if(Context::get('is_logged'))
654
			{
655
				$logged_info = Context::get('logged_info');
656
				$group_srls = array_keys($logged_info->group_list);
657
			}
658
			else
659
			{
660
				$group_srls = array();
661
			}
662
			$group_srls_count = count($group_srls);
663
664
			// check the grant after obtained the category list

modules/editor/editor.model.php 1 location

@@ 396-404 (lines=9) @@
393
			$config->enable_autosave = 'N';
394
		}
395
		// Check a group_list of the currently logged-in user for permission check
396
		if(Context::get('is_logged'))
397
		{
398
			$logged_info = Context::get('logged_info');
399
			$group_list = $logged_info->group_list;
400
		}
401
		else
402
		{
403
			$group_list = array();
404
		}
405
		// Pre-set option variables of editor
406
		$option = new stdClass();
407
		$option->module_type = $config->module_type;