]> source.dussan.org Git - nextcloud-server.git/commitdiff
Initialize storageId variable in shared cache
authorMichael Gapczynski <mtgap@owncloud.com>
Tue, 1 Jan 2013 19:13:05 +0000 (14:13 -0500)
committerMichael Gapczynski <mtgap@owncloud.com>
Tue, 1 Jan 2013 19:24:18 +0000 (14:24 -0500)
apps/files_sharing/lib/cache.php

index 07c305bb95204c798ee6e570dba8117245fb0a4f..0534d6dd89fc4ad871b7fe830c9bc9299fcc0500 100644 (file)
@@ -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;
                        }