Merge pull request #24514 from nextcloud/backport/24501/stable19
[stable19] set mountid for personal external storage mounts
This commit is contained in:
commit
c4d29cc3f1
|
@ -167,7 +167,8 @@ class ConfigAdapter implements IMountProvider {
|
||||||
'/' . $user->getUID() . '/files' . $storageConfig->getMountPoint(),
|
'/' . $user->getUID() . '/files' . $storageConfig->getMountPoint(),
|
||||||
null,
|
null,
|
||||||
$loader,
|
$loader,
|
||||||
$storageConfig->getMountOptions()
|
$storageConfig->getMountOptions(),
|
||||||
|
$storageConfig->getId()
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
return new ExternalMountPoint(
|
return new ExternalMountPoint(
|
||||||
|
|
|
@ -55,9 +55,10 @@ class PersonalMount extends ExternalMountPoint implements MoveableMount {
|
||||||
$mountpoint,
|
$mountpoint,
|
||||||
$arguments = null,
|
$arguments = null,
|
||||||
$loader = null,
|
$loader = null,
|
||||||
$mountOptions = null
|
$mountOptions = null,
|
||||||
|
$mountId = null
|
||||||
) {
|
) {
|
||||||
parent::__construct($storage, $mountpoint, $arguments, $loader, $mountOptions);
|
parent::__construct($storage, $mountpoint, $arguments, $loader, $mountOptions, $mountId);
|
||||||
$this->storagesService = $storagesService;
|
$this->storagesService = $storagesService;
|
||||||
$this->numericStorageId = $storageId;
|
$this->numericStorageId = $storageId;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue