set mountid for personal external storage mounts

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2020-12-02 14:25:48 +01:00
parent d8b8c9895b
commit 8d962579db
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB
2 changed files with 5 additions and 3 deletions

View File

@ -166,7 +166,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(

View File

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