Skip to content

Commit

Permalink
Properly get the internal path for a cachejail move
Browse files Browse the repository at this point in the history
  • Loading branch information
rullzer committed Apr 30, 2016
1 parent 27c9d8a commit 00122c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Files/Cache/Wrapper/CacheJail.php
Expand Up @@ -303,6 +303,6 @@ public function moveFromCache(\OCP\Files\Cache\ICache $sourceCache, $sourcePath,
if ($sourceCache === $this) {
return $this->move($sourcePath, $targetPath);
}
return $this->cache->moveFromCache($sourceCache, $sourcePath, $targetPath);
return $this->cache->moveFromCache($sourceCache, $sourcePath, $this->getSourcePath($targetPath));
}
}

0 comments on commit 00122c1

Please sign in to comment.