Code Duplication    Length = 4-4 lines in 2 locations

php/elFinderVolumeFTP.class.php 1 location

@@ 1171-1174 (lines=4) @@
1168
		}
1169
1170
		// check max files size
1171
		if ($this->options['maxArcFilesSize'] > 0 && $this->options['maxArcFilesSize'] < $this->archiveSize) {
1172
			$this->rmdirRecursive($dir);
1173
			return $this->setError(elFinder::ERROR_ARC_MAXSIZE);
1174
		}
1175
		
1176
		$extractTo = $this->extractToNewdir; // 'auto', ture or false
1177
		

php/elFinderVolumeLocalFileSystem.class.php 1 location

@@ 1018-1021 (lines=4) @@
1015
			}
1016
1017
			// check max files size
1018
			if ($this->options['maxArcFilesSize'] > 0 && $this->options['maxArcFilesSize'] < $this->archiveSize) {
1019
				$this->delTree($dir);
1020
				return $this->setError(elFinder::ERROR_ARC_MAXSIZE);
1021
			}
1022
			
1023
			$extractTo = $this->extractToNewdir; // 'auto', ture or false
1024