Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2022-02-02 18:12:57 +0300
committerRobin Appelman <robin@icewind.nl>2022-02-23 20:02:33 +0300
commitcfb7923e08ba1902fa5a5f72205cfcbb767b54ad (patch)
tree1641f6d5c32d3e4c822bac90ceab2d6f326797b6 /apps/files_sharing/lib
parent692da9236bde4a0d6d78cf8ee44bd574fec5b623 (diff)
store mountprovider for each mount in the mounts table
this enabled more fine grained filesystem setup Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files_sharing/lib')
-rw-r--r--apps/files_sharing/lib/External/Mount.php2
-rw-r--r--apps/files_sharing/lib/SharedMount.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/External/Mount.php b/apps/files_sharing/lib/External/Mount.php
index c8b74202ac7..2047dede39b 100644
--- a/apps/files_sharing/lib/External/Mount.php
+++ b/apps/files_sharing/lib/External/Mount.php
@@ -42,7 +42,7 @@ class Mount extends MountPoint implements MoveableMount {
* @param \OC\Files\Storage\StorageFactory $loader
*/
public function __construct($storage, $mountpoint, $options, $manager, $loader = null) {
- parent::__construct($storage, $mountpoint, $options, $loader);
+ parent::__construct($storage, $mountpoint, $options, $loader, null, null, MountProvider::class);
$this->manager = $manager;
}
diff --git a/apps/files_sharing/lib/SharedMount.php b/apps/files_sharing/lib/SharedMount.php
index 7fd477d07e4..c8f5d0f64ae 100644
--- a/apps/files_sharing/lib/SharedMount.php
+++ b/apps/files_sharing/lib/SharedMount.php
@@ -78,7 +78,7 @@ class SharedMount extends MountPoint implements MoveableMount {
$newMountPoint = $this->verifyMountPoint($this->superShare, $mountpoints, $folderExistCache);
$absMountPoint = '/' . $this->user . '/files' . $newMountPoint;
- parent::__construct($storage, $absMountPoint, $arguments, $loader);
+ parent::__construct($storage, $absMountPoint, $arguments, $loader, null, null, MountProvider::class);
}
/**