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

@@ 3406-3408 (lines=3) @@
3403
		$this->rmTmb($stat);
3404
		$this->clearcache();
3405
		
3406
		if (!$force && !empty($stat['locked'])) {
3407
			return $this->setError(elFinder::ERROR_LOCKED, $this->path($stat['hash']));
3408
		}
3409
		
3410
		if ($stat['mime'] == 'directory' && empty($stat['thash'])) {
3411
			$ret = $this->delTree($this->convEncIn($path));