Code Duplication    Length = 3-3 lines in 2 locations

lib/elFinderVolumeFTP.class.php 2 locations

@@ 403-405 (lines=3) @@
400
            $stat['ts'] = $info[5];
401
        } else {
402
            $stat['ts'] = strtotime($info[5].' '.$info[6].' '.$info[7]);
403
            if ($stat['ts'] && $stat['ts'] > $now && strpos($info[7], ':') !== false) {
404
                $stat['ts'] = strtotime($info[5].' '.$info[6].' '.$lastyear.' '.$info[7]);
405
            }
406
            if (empty($stat['ts'])) {
407
                $stat['ts'] = strtotime($info[6].' '.$info[5].' '.$info[7]);
408
                if ($stat['ts'] && $stat['ts'] > $now && strpos($info[7], ':') !== false) {
@@ 408-410 (lines=3) @@
405
            }
406
            if (empty($stat['ts'])) {
407
                $stat['ts'] = strtotime($info[6].' '.$info[5].' '.$info[7]);
408
                if ($stat['ts'] && $stat['ts'] > $now && strpos($info[7], ':') !== false) {
409
                    $stat['ts'] = strtotime($info[6].' '.$info[5].' '.$lastyear.' '.$info[7]);
410
                }
411
            }
412
        }
413