Code Duplication    Length = 4-5 lines in 2 locations

php/elFinderVolumeDriver.class.php 2 locations

@@ 1596-1599 (lines=4) @@
1593
		$this->rmTmb($file); // remove old name tmbs, we cannot do this after dir move
1594
1595
1596
		if ($path = $this->convEncOut($this->_move($this->convEncIn($path), $this->convEncIn($dir), $this->convEncIn($name)))) {
1597
			$this->clearcache();
1598
			return $this->stat($path);
1599
		}
1600
		return false;
1601
	}
1602
	
@@ 3409-3413 (lines=5) @@
3406
		$this->rmTmb($stat); // can not do rmTmb() after _move()
3407
		$this->clearcache();
3408
		
3409
		if ($this->convEncOut($this->_move($this->convEncIn($src), $this->convEncIn($dst), $this->convEncIn($name)))) {
3410
			$this->removed[] = $stat;
3411
3412
			return $this->joinPathCE($dst, $name);
3413
		}
3414
3415
		return $this->setError(elFinder::ERROR_MOVE, $this->path($stat['hash']));
3416
	}