Code Duplication    Length = 4-5 lines in 2 locations

php/elFinderVolumeDriver.class.php 2 locations

@@ 1552-1555 (lines=4) @@
1549
		$this->rmTmb($file); // remove old name tmbs, we cannot do this after dir move
1550
1551
1552
		if ($path = $this->convEncOut($this->_move($this->convEncIn($path), $this->convEncIn($dir), $this->convEncIn($name)))) {
1553
			$this->clearcache();
1554
			return $this->stat($path);
1555
		}
1556
		return false;
1557
	}
1558
	
@@ 3344-3348 (lines=5) @@
3341
		$this->rmTmb($stat); // can not do rmTmb() after _move()
3342
		$this->clearcache();
3343
		
3344
		if ($this->convEncOut($this->_move($this->convEncIn($src), $this->convEncIn($dst), $this->convEncIn($name)))) {
3345
			$this->removed[] = $stat;
3346
3347
			return $this->joinPathCE($dst, $name);
3348
		}
3349
3350
		return $this->setError(elFinder::ERROR_MOVE, $this->path($stat['hash']));
3351
	}