Code Duplication    Length = 3-3 lines in 2 locations

src/config/LdmlConfigHandler.class.php 2 locations

@@ 459-461 (lines=3) @@
456
                            $this->getCalendarWidth($calendar->quarters, 'quarter', $data['calendars'][$calendarName]);
457
                        }
458
459
                        if (isset($calendar->am)) {
460
                            $data['calendars'][$calendarName]['am'] = $this->unescape($calendar->am->getValue());
461
                        }
462
                        if (isset($calendar->pm)) {
463
                            $data['calendars'][$calendarName]['pm'] = $this->unescape($calendar->pm->getValue());
464
                        }
@@ 462-464 (lines=3) @@
459
                        if (isset($calendar->am)) {
460
                            $data['calendars'][$calendarName]['am'] = $this->unescape($calendar->am->getValue());
461
                        }
462
                        if (isset($calendar->pm)) {
463
                            $data['calendars'][$calendarName]['pm'] = $this->unescape($calendar->pm->getValue());
464
                        }
465
466
                        if (isset($calendar->eras)) {
467
                            if (isset($calendar->eras->eraNames)) {