summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-04-25 09:33:17 +0200
committerRoeland Jago Douma <rullzer@owncloud.com>2016-04-30 10:40:45 +0200
commit00122c166a386b52a127e97cfaee78cd8fd44e58 (patch)
tree1ccbc23186d64673f9484cfe609ecd19630a1abd
parent27c9d8a6901de8142c4f597d5c94503aca80e50b (diff)
downloadnextcloud-server-00122c166a386b52a127e97cfaee78cd8fd44e58.tar.gz
nextcloud-server-00122c166a386b52a127e97cfaee78cd8fd44e58.zip
Properly get the internal path for a cachejail move
-rw-r--r--lib/private/Files/Cache/Wrapper/CacheJail.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Cache/Wrapper/CacheJail.php b/lib/private/Files/Cache/Wrapper/CacheJail.php
index 3148d1412f4..d737d28fc80 100644
--- a/lib/private/Files/Cache/Wrapper/CacheJail.php
+++ b/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));
}
}