Code Duplication    Length = 4-4 lines in 3 locations

php/elFinderVolumeDriver.class.php 3 locations

@@ 4332-4335 (lines=4) @@
4329
				$arcs['extract']['application/x-tar'] = array('cmd' => 'tar', 'argc' => '-xf', 'ext' => 'tar');
4330
				unset($o);
4331
				$test = $this->procExec('gzip --version', $o, $c);
4332
				if ($c == 0) {
4333
					$arcs['create']['application/x-gzip']  = array('cmd' => 'tar', 'argc' => '-czf', 'ext' => 'tgz');
4334
					$arcs['extract']['application/x-gzip'] = array('cmd' => 'tar', 'argc' => '-xzf', 'ext' => 'tgz');
4335
				}
4336
				unset($o);
4337
				$test = $this->procExec('bzip2 --version', $o, $c);
4338
				if ($c == 0) {
@@ 4338-4341 (lines=4) @@
4335
				}
4336
				unset($o);
4337
				$test = $this->procExec('bzip2 --version', $o, $c);
4338
				if ($c == 0) {
4339
					$arcs['create']['application/x-bzip2']  = array('cmd' => 'tar', 'argc' => '-cjf', 'ext' => 'tbz');
4340
					$arcs['extract']['application/x-bzip2'] = array('cmd' => 'tar', 'argc' => '-xjf', 'ext' => 'tbz');
4341
				}
4342
				unset($o);
4343
				$test = $this->procExec('xz --version', $o, $c);
4344
				if ($c == 0) {
@@ 4344-4347 (lines=4) @@
4341
				}
4342
				unset($o);
4343
				$test = $this->procExec('xz --version', $o, $c);
4344
				if ($c == 0) {
4345
					$arcs['create']['application/x-xz']  = array('cmd' => 'tar', 'argc' => '-cJf', 'ext' => 'xz');
4346
					$arcs['extract']['application/x-xz'] = array('cmd' => 'tar', 'argc' => '-xJf', 'ext' => 'xz');
4347
				}
4348
			}
4349
			unset($o);
4350
			$this->procExec('zip -v', $o, $c);