Code Duplication    Length = 3-3 lines in 2 locations

php/elFinderVolumeDriver.class.php 1 location

@@ 3357-3359 (lines=3) @@
3354
		$this->rmTmb($stat);
3355
		$this->clearcache();
3356
		
3357
		if (!$force && !empty($stat['locked'])) {
3358
			return $this->setError(elFinder::ERROR_LOCKED, $this->path($stat['hash']));
3359
		}
3360
		
3361
		if ($stat['mime'] == 'directory' && empty($stat['thash'])) {
3362
			$ret = $this->delTree($this->convEncIn($path));

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)) {