From fc8c5965fa2edde0a08d01bc44c4c1beb7e863f2 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 31 Aug 2020 16:38:47 +0200 Subject: [PATCH] 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 --- lib/private/Files/Mount/MountPoint.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Files/Mount/MountPoint.php b/lib/private/Files/Mount/MountPoint.php index f9cda6fbce..626bc32ebf 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; } /**