Code Duplication    Length = 3-3 lines in 2 locations

Sources/ManageLanguages.php 2 locations

@@ 390-392 (lines=3) @@
387
		{
388
			if ($type == 'lang')
389
			{
390
				foreach ($data as $k => $file)
391
					if (!$file['writable'] && !in_array($file['destination'], $context['still_not_writable']))
392
						$context['files'][$type][$k]['writable'] = true;
393
			}
394
			else
395
			{
@@ 397-399 (lines=3) @@
394
			else
395
			{
396
				foreach ($data as $theme => $files)
397
					foreach ($files as $k => $file)
398
						if (!$file['writable'] && !in_array($file['destination'], $context['still_not_writable']))
399
							$context['files'][$type][$theme][$k]['writable'] = true;
400
			}
401
		}
402