Code Duplication    Length = 4-5 lines in 2 locations

php/elFinderVolumeDriver.class.php 2 locations

@@ 1548-1551 (lines=4) @@
1545
		$this->rmTmb($file); // remove old name tmbs, we cannot do this after dir move
1546
1547
1548
		if ($path = $this->convEncOut($this->_move($this->convEncIn($path), $this->convEncIn($dir), $this->convEncIn($name)))) {
1549
			$this->clearcache();
1550
			return $this->stat($path);
1551
		}
1552
		return false;
1553
	}
1554
	
@@ 3334-3338 (lines=5) @@
3331
		$this->rmTmb($stat); // can not do rmTmb() after _move()
3332
		$this->clearcache();
3333
		
3334
		if ($this->convEncOut($this->_move($this->convEncIn($src), $this->convEncIn($dst), $this->convEncIn($name)))) {
3335
			$this->removed[] = $stat;
3336
3337
			return $this->joinPathCE($dst, $name);
3338
		}
3339
3340
		return $this->setError(elFinder::ERROR_MOVE, $this->path($stat['hash']));
3341
	}