Code Duplication    Length = 3-3 lines in 2 locations

php/elFinderVolumeDropbox.class.php 1 location

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

php/elFinderVolumeDriver.class.php 1 location

@@ 3375-3377 (lines=3) @@
3372
		$this->rmTmb($stat);
3373
		$this->clearcache();
3374
		
3375
		if (!$force && !empty($stat['locked'])) {
3376
			return $this->setError(elFinder::ERROR_LOCKED, $this->path($stat['hash']));
3377
		}
3378
		
3379
		if ($stat['mime'] == 'directory' && empty($stat['thash'])) {
3380
			$ret = $this->delTree($this->convEncIn($path));