Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix cross-storage move info when moving between two received shares
Need to properly resolve the given path to a source path in
`getMoveInfo`. This was missing when adding this new method.
  • Loading branch information
Vincent Petry committed Jun 26, 2017
commit 7340a11664481516262ec4dc14eaaeade1124dd1
4 changes: 4 additions & 0 deletions lib/private/Files/Cache/Wrapper/CacheJail.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,4 +311,8 @@ public function moveFromCache(\OCP\Files\Cache\ICache $sourceCache, $sourcePath,
}
return $this->cache->moveFromCache($sourceCache, $sourcePath, $this->getSourcePath($targetPath));
}

protected function getMoveInfo($path) {
return [$this->getNumericStorageId(), $this->getSourcePath($path)];
}
}