pass `Cache::getMoveInfo` along cache wrappers
fixes cross storage move in some cases Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
565d830c11
commit
6c5ea0ceca
|
@ -187,6 +187,12 @@ class CacheWrapper extends Cache {
|
|||
$this->getCache()->move($source, $target);
|
||||
}
|
||||
|
||||
protected function getMoveInfo($path) {
|
||||
/** @var Cache $cache */
|
||||
$cache = $this->getCache();
|
||||
return $cache->getMoveInfo($path);
|
||||
}
|
||||
|
||||
public function moveFromCache(ICache $sourceCache, $sourcePath, $targetPath) {
|
||||
$this->getCache()->moveFromCache($sourceCache, $sourcePath, $targetPath);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue