Code Duplication    Length = 3-3 lines in 2 locations

lib/elFinder.class.php 2 locations

@@ 1566-1568 (lines=3) @@
1563
        }
1564
1565
        // load additional volume root options
1566
        if (! empty($this->optionsNetVolumes['*'])) {
1567
            $options = array_merge($options, $this->optionsNetVolumes['*']);
1568
        }
1569
        if (! empty($this->optionsNetVolumes[$protocol])) {
1570
            $options = array_merge($options, $this->optionsNetVolumes[$protocol]);
1571
        }
@@ 1569-1571 (lines=3) @@
1566
        if (! empty($this->optionsNetVolumes['*'])) {
1567
            $options = array_merge($options, $this->optionsNetVolumes['*']);
1568
        }
1569
        if (! empty($this->optionsNetVolumes[$protocol])) {
1570
            $options = array_merge($options, $this->optionsNetVolumes[$protocol]);
1571
        }
1572
1573
        if (! $key = $volume->netMountKey) {
1574
            $key = md5($protocol.'-'.serialize($options));