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 = 13-13 lines in 4 locations

modules/editor/editor.model.php 4 locations

@@ 415-427 (lines=13) @@
412
		$option->colorset = $config->sel_editor_colorset;
413
		// Permission check for file upload
414
		$option->allow_fileupload = false;
415
		if($logged_info->is_admin=='Y') $option->allow_fileupload = true;
416
		elseif(count($config->upload_file_grant))
417
		{
418
			foreach($group_list as $group_srl => $group_info)
419
			{
420
				if(in_array($group_srl, $config->upload_file_grant))
421
				{
422
					$option->allow_fileupload = true;
423
					break;
424
				}
425
			}
426
		}
427
		else $option->allow_fileupload = true;
428
		// Permission check for using default components
429
		$option->enable_default_component = false;
430
		if($logged_info->is_admin=='Y') $option->enable_default_component = true;
@@ 430-442 (lines=13) @@
427
		else $option->allow_fileupload = true;
428
		// Permission check for using default components
429
		$option->enable_default_component = false;
430
		if($logged_info->is_admin=='Y') $option->enable_default_component = true;
431
		elseif(count($config->enable_default_component_grant))
432
		{
433
			foreach($group_list as $group_srl => $group_info)
434
			{
435
				if(in_array($group_srl, $config->enable_default_component_grant))
436
				{
437
					$option->enable_default_component = true;
438
					break;
439
				}
440
			}
441
		}
442
		else $option->enable_default_component = true;
443
		// Permisshion check for using extended components
444
		$option->enable_component = false;
445
		if($logged_info->is_admin=='Y') $option->enable_component = true;
@@ 445-457 (lines=13) @@
442
		else $option->enable_default_component = true;
443
		// Permisshion check for using extended components
444
		$option->enable_component = false;
445
		if($logged_info->is_admin=='Y') $option->enable_component = true;
446
		elseif(count($config->enable_component_grant))
447
		{
448
			foreach($group_list as $group_srl => $group_info)
449
			{
450
				if(in_array($group_srl, $config->enable_component_grant))
451
				{
452
					$option->enable_component = true;
453
					break;
454
				}
455
			}
456
		}
457
		else $option->enable_component = true;
458
		// HTML editing privileges
459
		$enable_html = false;
460
		if($logged_info->is_admin=='Y') $enable_html = true;
@@ 460-472 (lines=13) @@
457
		else $option->enable_component = true;
458
		// HTML editing privileges
459
		$enable_html = false;
460
		if($logged_info->is_admin=='Y') $enable_html = true;
461
		elseif(count($config->enable_html_grant))
462
		{
463
			foreach($group_list as $group_srl => $group_info)
464
			{
465
				if(in_array($group_srl, $config->enable_html_grant))
466
				{
467
					$enable_html = true;
468
					break;
469
				}
470
			}
471
		}
472
		else $enable_html = true;
473
474
		if($enable_html) $option->disable_html = false;
475
		else $option->disable_html = true;