Code Duplication    Length = 4-4 lines in 2 locations

typo3/sysext/core/Classes/TypoScript/TemplateService.php 2 locations

@@ 1576-1579 (lines=4) @@
1573
            // Find mount point if any:
1574
            $mount_info = $this->getTypoScriptFrontendController()->sys_page->getMountPointInfo($id);
1575
            // Overlay mode:
1576
            if (is_array($mount_info) && $mount_info['overlay']) {
1577
                $MP_array[] = $mount_info['MPvar'];
1578
                $id = $mount_info['mount_pid'];
1579
            }
1580
            // Set mapping information for this level:
1581
            $this->MPmap[$id] = $MP_array;
1582
            // Normal mode:
@@ 1583-1586 (lines=4) @@
1580
            // Set mapping information for this level:
1581
            $this->MPmap[$id] = $MP_array;
1582
            // Normal mode:
1583
            if (is_array($mount_info) && !$mount_info['overlay']) {
1584
                $MP_array[] = $mount_info['MPvar'];
1585
                $id = $mount_info['mount_pid'];
1586
            }
1587
        }
1588
        if ($id && $level < 20) {
1589
            $nextLevelAcc = [];