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

@@ 660-668 (lines=9) @@
657
		if($this->module_info->use_category=='Y')
658
		{
659
			// get the user group information
660
			if(Context::get('is_logged'))
661
			{
662
				$logged_info = Context::get('logged_info');
663
				$group_srls = array_keys($logged_info->group_list);
664
			}
665
			else
666
			{
667
				$group_srls = array();
668
			}
669
			$group_srls_count = count($group_srls);
670
671
			// check the grant after obtained the category list

modules/editor/editor.model.php 1 location

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