Code Duplication    Length = 4-4 lines in 3 locations

php/elFinderVolumeDriver.class.php 3 locations

@@ 4098-4101 (lines=4) @@
4095
				$arcs['extract']['application/x-tar'] = array('cmd' => 'tar', 'argc' => '-xf', 'ext' => 'tar');
4096
				unset($o);
4097
				$test = $this->procExec('gzip --version', $o, $c);
4098
				if ($c == 0) {
4099
					$arcs['create']['application/x-gzip']  = array('cmd' => 'tar', 'argc' => '-czf', 'ext' => 'tgz');
4100
					$arcs['extract']['application/x-gzip'] = array('cmd' => 'tar', 'argc' => '-xzf', 'ext' => 'tgz');
4101
				}
4102
				unset($o);
4103
				$test = $this->procExec('bzip2 --version', $o, $c);
4104
				if ($c == 0) {
@@ 4104-4107 (lines=4) @@
4101
				}
4102
				unset($o);
4103
				$test = $this->procExec('bzip2 --version', $o, $c);
4104
				if ($c == 0) {
4105
					$arcs['create']['application/x-bzip2']  = array('cmd' => 'tar', 'argc' => '-cjf', 'ext' => 'tbz');
4106
					$arcs['extract']['application/x-bzip2'] = array('cmd' => 'tar', 'argc' => '-xjf', 'ext' => 'tbz');
4107
				}
4108
				unset($o);
4109
				$test = $this->procExec('xz --version', $o, $c);
4110
				if ($c == 0) {
@@ 4110-4113 (lines=4) @@
4107
				}
4108
				unset($o);
4109
				$test = $this->procExec('xz --version', $o, $c);
4110
				if ($c == 0) {
4111
					$arcs['create']['application/x-xz']  = array('cmd' => 'tar', 'argc' => '-cJf', 'ext' => 'xz');
4112
					$arcs['extract']['application/x-xz'] = array('cmd' => 'tar', 'argc' => '-xJf', 'ext' => 'xz');
4113
				}
4114
			}
4115
			unset($o);
4116
			$this->procExec('zip -v', $o, $c);