Code Duplication    Length = 3-3 lines in 2 locations

src/translation/TranslationManager.class.php 2 locations

@@ 881-883 (lines=3) @@
878
    public function resolveTimeZoneId($id)
879
    {
880
        if (isset($this->timeZoneList[$id])) {
881
            while ($this->timeZoneList[$id]['type'] == 'link') {
882
                $id = $this->timeZoneList[$id]['to'];
883
            }
884
        }
885
        
886
        return $id;
@@ 918-920 (lines=3) @@
915
            $currId = $id;
916
917
            // resolve links
918
            while ($this->timeZoneList[$currId]['type'] == 'link') {
919
                $currId = $this->timeZoneList[$currId]['to'];
920
            }
921
922
            $zoneData = include(Config::get('core.cldr_dir') . '/timezones/' . $this->timeZoneList[$currId]['filename']);
923