diff options
author | Robin Appelman <robin@icewind.nl> | 2020-08-31 16:38:47 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2020-08-31 16:38:47 +0200 |
commit | 81c5aa9819cf281f9b61e5580daa6ac7f579306e (patch) | |
tree | f0b1c44f9b62c7c7fb0642539f1dbf373936f416 /lib/private/Files | |
parent | 9d9a69332b442d66c40aadae9a6c613af5992741 (diff) | |
download | nextcloud-server-81c5aa9819cf281f9b61e5580daa6ac7f579306e.tar.gz nextcloud-server-81c5aa9819cf281f9b61e5580daa6ac7f579306e.zip |
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/private/Files')
-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; } /** |