Merge pull request #22519 from nextcloud/backport/22517/stable19

[stable19] set the mount id before calling storage wrapper
This commit is contained in:
Julius Härtl 2020-08-31 21:51:59 +02:00 committed by GitHub
commit 568f68856f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
/**