Code Duplication    Length = 2-2 lines in 2 locations

sources/Load.php 1 location

@@ 1485-1486 (lines=2) @@
1482
	if ($context['right_to_left'])
1483
		loadCSSFile('rtl.css');
1484
1485
	if (!empty($context['theme_variant']) && $context['right_to_left'])
1486
		loadCSSFile($context['theme_variant'] . '/rtl' . $context['theme_variant'] . '.css');
1487
1488
	// This allows us to change the way things look for the admin.
1489
	$context['admin_features'] = isset($modSettings['admin_features']) ? explode(',', $modSettings['admin_features']) : array('cd,cp,k,w,rg,ml,pm');

themes/default/Theme.php 1 location

@@ 1357-1358 (lines=2) @@
1354
		$context['theme_variant_url'] = $context['theme_variant'] . '/';
1355
1356
		// The most efficient way of writing multi themes is to use a master index.css plus variant.css files.
1357
		if (!empty($context['theme_variant']))
1358
		{
1359
			loadCSSFile($context['theme_variant'] . '/index' . $context['theme_variant'] . '.css');
1360
		}
1361
	}