diff options
author | Robin Appelman <robin@icewind.nl> | 2017-03-27 14:05:01 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2017-03-27 14:05:18 +0200 |
commit | ae3016959e6cbcadcd5169fa9e35a332abcc4495 (patch) | |
tree | a9f80ec1a610c8480c3a3a0ccad901b50f1b0651 /apps/files_sharing/lib/Cache.php | |
parent | 869ba16273ededa4637c5ddeaab11533fb4e455f (diff) | |
download | nextcloud-server-ae3016959e6cbcadcd5169fa9e35a332abcc4495.tar.gz nextcloud-server-ae3016959e6cbcadcd5169fa9e35a332abcc4495.zip |
fix shared storage numeric id
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files_sharing/lib/Cache.php')
-rw-r--r-- | apps/files_sharing/lib/Cache.php | 3 |
1 files changed, 3 insertions, 0 deletions
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() |