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

@@ 3446-3448 (lines=3) @@
3443
		$this->rmTmb($stat);
3444
		$this->clearcache();
3445
		
3446
		if (!$force && !empty($stat['locked'])) {
3447
			return $this->setError(elFinder::ERROR_LOCKED, $this->path($stat['hash']));
3448
		}
3449
		
3450
		if ($stat['mime'] == 'directory' && empty($stat['thash'])) {
3451
			$ret = $this->delTree($this->convEncIn($path));