Code Duplication    Length = 3-3 lines in 2 locations

php/elFinderVolumeDropbox.class.php 1 location

@@ 720-722 (lines=3) @@
717
			return $this->setError(elFinder::ERROR_RM, $this->_path($path), elFinder::ERROR_FILE_NOT_FOUND);
718
		}
719
	
720
		if (!$force && !empty($stat['locked'])) {
721
			return $this->setError(elFinder::ERROR_LOCKED, $this->_path($path));
722
		}
723
	
724
		if ($stat['mime'] == 'directory') {
725
			if (!$recursive && !$this->_rmdir($path)) {

php/elFinderVolumeDriver.class.php 1 location

@@ 3436-3438 (lines=3) @@
3433
		$this->rmTmb($stat);
3434
		$this->clearcache();
3435
		
3436
		if (!$force && !empty($stat['locked'])) {
3437
			return $this->setError(elFinder::ERROR_LOCKED, $this->path($stat['hash']));
3438
		}
3439
		
3440
		if ($stat['mime'] == 'directory' && empty($stat['thash'])) {
3441
			$ret = $this->delTree($this->convEncIn($path));