Skip to content

Commit 6b9b88f

Browse files
authored
Merge pull request #22517 from nextcloud/external-mount-id-before-wrapper
set the mount id before calling storage wrapper
2 parents 1c22004 + 81c5aa9 commit 6b9b88f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/Files/Mount/MountPoint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ public function __construct($storage, $mountpoint, $arguments = null, $loader =
102102

103103
$mountpoint = $this->formatPath($mountpoint);
104104
$this->mountPoint = $mountpoint;
105+
$this->mountId = $mountId;
105106
if ($storage instanceof Storage) {
106107
$this->class = get_class($storage);
107108
$this->storage = $this->loader->wrap($this, $storage);
@@ -113,7 +114,6 @@ public function __construct($storage, $mountpoint, $arguments = null, $loader =
113114
$this->class = $storage;
114115
$this->arguments = $arguments;
115116
}
116-
$this->mountId = $mountId;
117117
}
118118

119119
/**

0 commit comments

Comments
 (0)