aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files_external/lib/Config/ConfigAdapter.php3
-rw-r--r--apps/files_external/lib/Lib/PersonalMount.php5
2 files changed, 5 insertions, 3 deletions
diff --git a/apps/files_external/lib/Config/ConfigAdapter.php b/apps/files_external/lib/Config/ConfigAdapter.php
index a1266c647bb..a43d13d3e7f 100644
--- a/apps/files_external/lib/Config/ConfigAdapter.php
+++ b/apps/files_external/lib/Config/ConfigAdapter.php
@@ -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(
diff --git a/apps/files_external/lib/Lib/PersonalMount.php b/apps/files_external/lib/Lib/PersonalMount.php
index 37a6661601c..8f3a127632e 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;
}