Code Duplication    Length = 3-3 lines in 2 locations

php/elFinderVolumeDriver.class.php 1 location

@@ 3511-3513 (lines=3) @@
3508
		$this->rmTmb($stat);
3509
		$this->clearcache();
3510
		
3511
		if (!$force && !empty($stat['locked'])) {
3512
			return $this->setError(elFinder::ERROR_LOCKED, $this->path($stat['hash']));
3513
		}
3514
		
3515
		if ($stat['mime'] == 'directory' && empty($stat['thash'])) {
3516
			$ret = $this->delTree($this->convEncIn($path));

php/elFinderVolumeDropbox.class.php 1 location

@@ 756-758 (lines=3) @@
753
			return $this->setError(elFinder::ERROR_RM, $this->_path($path), elFinder::ERROR_FILE_NOT_FOUND);
754
		}
755
	
756
		if (!$force && !empty($stat['locked'])) {
757
			return $this->setError(elFinder::ERROR_LOCKED, $this->_path($path));
758
		}
759
	
760
		if ($stat['mime'] == 'directory') {
761
			if (!$recursive && !$this->_rmdir($path)) {