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 = 14-15 lines in 2 locations

modules/layout/layout.class.php 1 location

@@ 91-104 (lines=14) @@
88
89
		$args->layout = '.';
90
		$output = executeQueryArray('layout.getLayoutDotList', $args);
91
		if($output->data && count($output->data) > 0)
92
		{
93
			foreach($output->data as $layout)
94
			{
95
				$layout_path = explode('.', $layout->layout);
96
				if(count($layout_path) != 2) continue;
97
				if(is_dir(sprintf(_XE_PATH_ . 'themes/%s/layouts/%s', $layout_path[0], $layout_path[1])))
98
				{
99
					$args->layout = implode('|@|', $layout_path);
100
					$args->layout_srl = $layout->layout_srl;
101
					$output = executeQuery('layout.updateLayout', $args);
102
				}
103
			}
104
		}
105
		return new Object(0, 'success_updated');
106
	}
107

modules/module/module.class.php 1 location

@@ 383-397 (lines=15) @@
380
381
		$args->skin = '.';
382
		$output = executeQueryArray('module.getModuleSkinDotList', $args);
383
		if($output->data && count($output->data) > 0)
384
		{
385
			foreach($output->data as $item)
386
			{
387
				$skin_path = explode('.', $item->skin);
388
				if(count($skin_path) != 2) continue;
389
				if(is_dir(sprintf(_XE_PATH_ . 'themes/%s/modules/%s', $skin_path[0], $skin_path[1])))
390
				{
391
					unset($args);
392
					$args->skin = $item->skin;
393
					$args->new_skin = implode('|@|', $skin_path);
394
					$output = executeQuery('module.updateSkinAll', $args);
395
				}
396
			}
397
		}
398
399
		// XE 1.7
400
		if(!$oDB->isColumnExists("modules", "is_mskin_fix"))