summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-09-01 08:05:15 +0200
committerGitHub <noreply@github.com>2020-09-01 08:05:15 +0200
commitf9fb6caaaef12b9de06b5a32ff6d860093618ba0 (patch)
tree89ab6dd7fdd00e5a21177ace3f4772827d9ba4ad /lib/private
parent1bf59c48b4bd1c339f14738b9efe7b0b97781e3d (diff)
parent9c7dd682381f4f2c2626646068da69fde3ff35b2 (diff)
downloadnextcloud-server-f9fb6caaaef12b9de06b5a32ff6d860093618ba0.tar.gz
nextcloud-server-f9fb6caaaef12b9de06b5a32ff6d860093618ba0.zip
Merge pull request #22518 from nextcloud/backport/22517/stable18
[stable18] set the mount id before calling storage wrapper
Diffstat (limited to 'lib/private')
-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 d9d5117cd3f..8b7bd382b1a 100644
--- a/lib/private/Files/Mount/MountPoint.php
+++ b/lib/private/Files/Mount/MountPoint.php
@@ -101,6 +101,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);
@@ -112,7 +113,6 @@ class MountPoint implements IMountPoint {
$this->class = $storage;
$this->arguments = $arguments;
}
- $this->mountId = $mountId;
}
/**