From ae3016959e6cbcadcd5169fa9e35a332abcc4495 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 27 Mar 2017 14:05:01 +0200 Subject: fix shared storage numeric id Signed-off-by: Robin Appelman --- apps/files_sharing/lib/Cache.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/files_sharing/lib/Cache.php') diff --git a/apps/files_sharing/lib/Cache.php b/apps/files_sharing/lib/Cache.php index bc10ddbd94f..d7dcb426d85 100644 --- a/apps/files_sharing/lib/Cache.php +++ b/apps/files_sharing/lib/Cache.php @@ -51,6 +51,8 @@ class Cache extends CacheJail { private $ownerDisplayName; + private $numericId; + /** * @param \OCA\Files_Sharing\SharedStorage $storage * @param ICacheEntry $sourceRootInfo @@ -58,6 +60,7 @@ class Cache extends CacheJail { public function __construct($storage, ICacheEntry $sourceRootInfo) { $this->storage = $storage; $this->sourceRootInfo = $sourceRootInfo; + $this->numericId = $sourceRootInfo->getStorageId(); parent::__construct( null, $this->sourceRootInfo->getPath() -- cgit v1.2.3