Properly get the internal path for a cachejail move

This commit is contained in:
Roeland Jago Douma 2016-04-25 09:33:17 +02:00
parent 27c9d8a690
commit 00122c166a
No known key found for this signature in database
GPG Key ID: 1E152838F164D13B
1 changed files with 1 additions and 1 deletions

View File

@ -303,6 +303,6 @@ class CacheJail extends CacheWrapper {
if ($sourceCache === $this) {
return $this->move($sourcePath, $targetPath);
}
return $this->cache->moveFromCache($sourceCache, $sourcePath, $targetPath);
return $this->cache->moveFromCache($sourceCache, $sourcePath, $this->getSourcePath($targetPath));
}
}