aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/files/mount/mountpoint.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/files/mount/mountpoint.php')
-rw-r--r--lib/private/files/mount/mountpoint.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/files/mount/mountpoint.php b/lib/private/files/mount/mountpoint.php
index 85edb7cb570..b62dc478015 100644
--- a/lib/private/files/mount/mountpoint.php
+++ b/lib/private/files/mount/mountpoint.php
@@ -95,10 +95,12 @@ class MountPoint implements IMountPoint {
}
/**
+ * Sets the mount point path, relative to data/
+ *
* @param string $mountPoint new mount point
*/
public function setMountPoint($mountPoint) {
- $this->mountPoint = $mountPoint;
+ $this->mountPoint = $this->formatPath($mountPoint);
}
/**