Code Duplication    Length = 4-4 lines in 3 locations

php/elFinderVolumeDriver.class.php 3 locations

@@ 4147-4150 (lines=4) @@
4144
				$arcs['extract']['application/x-tar'] = array('cmd' => 'tar', 'argc' => '-xf', 'ext' => 'tar');
4145
				unset($o);
4146
				$test = $this->procExec('gzip --version', $o, $c);
4147
				if ($c == 0) {
4148
					$arcs['create']['application/x-gzip']  = array('cmd' => 'tar', 'argc' => '-czf', 'ext' => 'tgz');
4149
					$arcs['extract']['application/x-gzip'] = array('cmd' => 'tar', 'argc' => '-xzf', 'ext' => 'tgz');
4150
				}
4151
				unset($o);
4152
				$test = $this->procExec('bzip2 --version', $o, $c);
4153
				if ($c == 0) {
@@ 4153-4156 (lines=4) @@
4150
				}
4151
				unset($o);
4152
				$test = $this->procExec('bzip2 --version', $o, $c);
4153
				if ($c == 0) {
4154
					$arcs['create']['application/x-bzip2']  = array('cmd' => 'tar', 'argc' => '-cjf', 'ext' => 'tbz');
4155
					$arcs['extract']['application/x-bzip2'] = array('cmd' => 'tar', 'argc' => '-xjf', 'ext' => 'tbz');
4156
				}
4157
				unset($o);
4158
				$test = $this->procExec('xz --version', $o, $c);
4159
				if ($c == 0) {
@@ 4159-4162 (lines=4) @@
4156
				}
4157
				unset($o);
4158
				$test = $this->procExec('xz --version', $o, $c);
4159
				if ($c == 0) {
4160
					$arcs['create']['application/x-xz']  = array('cmd' => 'tar', 'argc' => '-cJf', 'ext' => 'xz');
4161
					$arcs['extract']['application/x-xz'] = array('cmd' => 'tar', 'argc' => '-xJf', 'ext' => 'xz');
4162
				}
4163
			}
4164
			unset($o);
4165
			$this->procExec('zip -v', $o, $c);