summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2013-01-01 14:13:05 -0500
committerMichael Gapczynski <mtgap@owncloud.com>2013-01-01 14:24:18 -0500
commitfe90130618e4ce9b1829b4ce8e87311a15f53b83 (patch)
treee4a1bd4a6649c336ec69c576a6fa65419e2aa35f /apps/files_sharing/lib
parenta164fd160fb0d3da548dfe01ec27df67d76b0b59 (diff)
downloadnextcloud-server-fe90130618e4ce9b1829b4ce8e87311a15f53b83.tar.gz
nextcloud-server-fe90130618e4ce9b1829b4ce8e87311a15f53b83.zip
Initialize storageId variable in shared cache
Diffstat (limited to 'apps/files_sharing/lib')
-rw-r--r--apps/files_sharing/lib/cache.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/cache.php b/apps/files_sharing/lib/cache.php
index 07c305bb952..0534d6dd89f 100644
--- a/apps/files_sharing/lib/cache.php
+++ b/apps/files_sharing/lib/cache.php
@@ -48,6 +48,7 @@ class Shared_Cache extends Cache {
if ($storage) {
$this->files[$target] = $internalPath;
$cache = $storage->getCache();
+ $this->storageId = $storage->getId();
$this->numericId = $cache->getNumericStorageId();
return $cache;
}