diff --git a/apps/files_external/lib/Config/ConfigAdapter.php b/apps/files_external/lib/Config/ConfigAdapter.php index fa33f3de79..d246bb05fc 100644 --- a/apps/files_external/lib/Config/ConfigAdapter.php +++ b/apps/files_external/lib/Config/ConfigAdapter.php @@ -167,7 +167,8 @@ class ConfigAdapter implements IMountProvider { '/' . $user->getUID() . '/files' . $storageConfig->getMountPoint(), null, $loader, - $storageConfig->getMountOptions() + $storageConfig->getMountOptions(), + $storageConfig->getId() ); } else { return new ExternalMountPoint( diff --git a/apps/files_external/lib/Lib/PersonalMount.php b/apps/files_external/lib/Lib/PersonalMount.php index 37a6661601..8f3a127632 100644 --- a/apps/files_external/lib/Lib/PersonalMount.php +++ b/apps/files_external/lib/Lib/PersonalMount.php @@ -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; }