Merge pull request #24501 from nextcloud/personal-external-mount-id
set mountid for personal external storage mounts
This commit is contained in:
commit
82cc9c1382
|
@ -166,7 +166,8 @@ class ConfigAdapter implements IMountProvider {
|
|||
'/' . $user->getUID() . '/files' . $storageConfig->getMountPoint(),
|
||||
null,
|
||||
$loader,
|
||||
$storageConfig->getMountOptions()
|
||||
$storageConfig->getMountOptions(),
|
||||
$storageConfig->getId()
|
||||
);
|
||||
} else {
|
||||
return new ExternalMountPoint(
|
||||
|
|
|
@ -55,9 +55,10 @@ class PersonalMount extends ExternalMountPoint implements MoveableMount {
|
|||
$mountpoint,
|
||||
$arguments = 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->numericStorageId = $storageId;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue