diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-08-31 22:51:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-31 22:51:59 +0300 |
commit | 568f68856f06b9bc4a5d5f4546fbce19d9b0adc1 (patch) | |
tree | 900c58fbf62163f27539159d05e7130b91a4c955 | |
parent | c83bd2a7fdf19d2f62f7c4162703d05e2a906d6c (diff) | |
parent | fc8c5965fa2edde0a08d01bc44c4c1beb7e863f2 (diff) |
Merge pull request #22519 from nextcloud/backport/22517/stable19
[stable19] set the mount id before calling storage wrapper
-rw-r--r-- | lib/private/Files/Mount/MountPoint.php | 2 |
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; } /** |