Properly get the internal path for a cachejail move

remotes/origin/move_setupfromtoken_to_sharemanager
Roeland Jago Douma 10 years ago
parent 27c9d8a690
commit 00122c166a
No known key found for this signature in database
GPG Key ID: 1E152838F164D13B
  1. 2
      lib/private/Files/Cache/Wrapper/CacheJail.php

@ -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));
}
}

Loading…
Cancel
Save