Code Duplication    Length = 3-3 lines in 2 locations

php/elFinderVolumeDropbox.class.php 1 location

@@ 765-767 (lines=3) @@
762
			return $this->setError(elFinder::ERROR_RM, $this->_path($path), elFinder::ERROR_FILE_NOT_FOUND);
763
		}
764
	
765
		if (!$force && !empty($stat['locked'])) {
766
			return $this->setError(elFinder::ERROR_LOCKED, $this->_path($path));
767
		}
768
	
769
		if ($stat['mime'] == 'directory') {
770
			if (!$recursive && !$this->_rmdir($path)) {

php/elFinderVolumeDriver.class.php 1 location

@@ 3549-3551 (lines=3) @@
3546
		$this->rmTmb($stat);
3547
		$this->clearcache();
3548
		
3549
		if (!$force && !empty($stat['locked'])) {
3550
			return $this->setError(elFinder::ERROR_LOCKED, $this->path($stat['hash']));
3551
		}
3552
		
3553
		if ($stat['mime'] == 'directory' && empty($stat['thash'])) {
3554
			$ret = $this->delTree($this->convEncIn($path));