Code Duplication    Length = 4-4 lines in 3 locations

php/elFinderVolumeDriver.class.php 3 locations

@@ 4088-4091 (lines=4) @@
4085
				$arcs['extract']['application/x-tar'] = array('cmd' => 'tar', 'argc' => '-xf', 'ext' => 'tar');
4086
				unset($o);
4087
				$test = $this->procExec('gzip --version', $o, $c);
4088
				if ($c == 0) {
4089
					$arcs['create']['application/x-gzip']  = array('cmd' => 'tar', 'argc' => '-czf', 'ext' => 'tgz');
4090
					$arcs['extract']['application/x-gzip'] = array('cmd' => 'tar', 'argc' => '-xzf', 'ext' => 'tgz');
4091
				}
4092
				unset($o);
4093
				$test = $this->procExec('bzip2 --version', $o, $c);
4094
				if ($c == 0) {
@@ 4094-4097 (lines=4) @@
4091
				}
4092
				unset($o);
4093
				$test = $this->procExec('bzip2 --version', $o, $c);
4094
				if ($c == 0) {
4095
					$arcs['create']['application/x-bzip2']  = array('cmd' => 'tar', 'argc' => '-cjf', 'ext' => 'tbz');
4096
					$arcs['extract']['application/x-bzip2'] = array('cmd' => 'tar', 'argc' => '-xjf', 'ext' => 'tbz');
4097
				}
4098
				unset($o);
4099
				$test = $this->procExec('xz --version', $o, $c);
4100
				if ($c == 0) {
@@ 4100-4103 (lines=4) @@
4097
				}
4098
				unset($o);
4099
				$test = $this->procExec('xz --version', $o, $c);
4100
				if ($c == 0) {
4101
					$arcs['create']['application/x-xz']  = array('cmd' => 'tar', 'argc' => '-cJf', 'ext' => 'xz');
4102
					$arcs['extract']['application/x-xz'] = array('cmd' => 'tar', 'argc' => '-xJf', 'ext' => 'xz');
4103
				}
4104
			}
4105
			unset($o);
4106
			$this->procExec('zip -v', $o, $c);