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
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2020-08-31 17:38:47 +0300
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2020-08-31 18:23:13 +0300
commitfc8c5965fa2edde0a08d01bc44c4c1beb7e863f2 (patch)
tree3bd5329646a0bd3e40d6cc06b783fad3728c8d91 /lib
parent4ef423913dbfb514d17b54bab69460427d88799a (diff)
set the mount id before calling storage wrapper
this allows the storage wrapper to use the mount id for it's own logic Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/Mount/MountPoint.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Mount/MountPoint.php b/lib/private/Files/Mount/MountPoint.php
index f9cda6fbce8..626bc32ebf2 100644
--- a/lib/private/Files/Mount/MountPoint.php
+++ b/lib/private/Files/Mount/MountPoint.php
@@ -102,6 +102,7 @@ class MountPoint implements IMountPoint {
$mountpoint = $this->formatPath($mountpoint);
$this->mountPoint = $mountpoint;
+ $this->mountId = $mountId;
if ($storage instanceof Storage) {
$this->class = get_class($storage);
$this->storage = $this->loader->wrap($this, $storage);
@@ -113,7 +114,6 @@ class MountPoint implements IMountPoint {
$this->class = $storage;
$this->arguments = $arguments;
}
- $this->mountId = $mountId;
}
/**