mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 14:50:17 -04:00
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>
This commit is contained in:
parent
9d9a69332b
commit
81c5aa9819
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue