mirror of
https://github.com/nextcloud/server.git
synced 2026-04-29 10:03:32 -04:00
Merge pull request #22518 from nextcloud/backport/22517/stable18
[stable18] set the mount id before calling storage wrapper
This commit is contained in:
commit
f9fb6caaae
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue