diff options
author | Robin Appelman <robin@icewind.nl> | 2016-07-22 14:34:59 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2016-07-22 14:34:59 +0200 |
commit | d499f68fd72bb6839023aa91fb2028587a62c496 (patch) | |
tree | fd8db56b60a8d3df7d078a69b751695b7576fa4d /lib/private/Files | |
parent | 194c385c7a3200ca939f4ee85c3230cdb869f98e (diff) | |
download | nextcloud-server-d499f68fd72bb6839023aa91fb2028587a62c496.tar.gz nextcloud-server-d499f68fd72bb6839023aa91fb2028587a62c496.zip |
Fix storage id with storage jail
Diffstat (limited to 'lib/private/Files')
-rw-r--r-- | lib/private/Files/Storage/Wrapper/Jail.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Storage/Wrapper/Jail.php b/lib/private/Files/Storage/Wrapper/Jail.php index 80c75523748..5b9085799b9 100644 --- a/lib/private/Files/Storage/Wrapper/Jail.php +++ b/lib/private/Files/Storage/Wrapper/Jail.php @@ -377,7 +377,7 @@ class Jail extends Wrapper { */ public function getCache($path = '', $storage = null) { if (!$storage) { - $storage = $this; + $storage = $this->storage; } $sourceCache = $this->storage->getCache($this->getSourcePath($path), $storage); return new CacheJail($sourceCache, $this->rootPath); |