Code Duplication    Length = 4-4 lines in 3 locations

php/elFinderVolumeDriver.class.php 3 locations

@@ 4133-4136 (lines=4) @@
4130
				$arcs['extract']['application/x-tar'] = array('cmd' => 'tar', 'argc' => '-xf', 'ext' => 'tar');
4131
				unset($o);
4132
				$test = $this->procExec('gzip --version', $o, $c);
4133
				if ($c == 0) {
4134
					$arcs['create']['application/x-gzip']  = array('cmd' => 'tar', 'argc' => '-czf', 'ext' => 'tgz');
4135
					$arcs['extract']['application/x-gzip'] = array('cmd' => 'tar', 'argc' => '-xzf', 'ext' => 'tgz');
4136
				}
4137
				unset($o);
4138
				$test = $this->procExec('bzip2 --version', $o, $c);
4139
				if ($c == 0) {
@@ 4139-4142 (lines=4) @@
4136
				}
4137
				unset($o);
4138
				$test = $this->procExec('bzip2 --version', $o, $c);
4139
				if ($c == 0) {
4140
					$arcs['create']['application/x-bzip2']  = array('cmd' => 'tar', 'argc' => '-cjf', 'ext' => 'tbz');
4141
					$arcs['extract']['application/x-bzip2'] = array('cmd' => 'tar', 'argc' => '-xjf', 'ext' => 'tbz');
4142
				}
4143
				unset($o);
4144
				$test = $this->procExec('xz --version', $o, $c);
4145
				if ($c == 0) {
@@ 4145-4148 (lines=4) @@
4142
				}
4143
				unset($o);
4144
				$test = $this->procExec('xz --version', $o, $c);
4145
				if ($c == 0) {
4146
					$arcs['create']['application/x-xz']  = array('cmd' => 'tar', 'argc' => '-cJf', 'ext' => 'xz');
4147
					$arcs['extract']['application/x-xz'] = array('cmd' => 'tar', 'argc' => '-xJf', 'ext' => 'xz');
4148
				}
4149
			}
4150
			unset($o);
4151
			$this->procExec('zip -v', $o, $c);