diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-04-13 13:16:07 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-04-13 13:16:07 +0200 |
commit | a88e013f722a2bf30100074760509613c76ca807 (patch) | |
tree | 5e436a6f6973206ada03c870b07e4407f7e5e0a1 /lib | |
parent | b67301ef998663df86abe7f24127910e0aa110be (diff) | |
parent | 2822d0579e170aa5f58d8726acb8c67e5633b523 (diff) | |
download | nextcloud-server-a88e013f722a2bf30100074760509613c76ca807.tar.gz nextcloud-server-a88e013f722a2bf30100074760509613c76ca807.zip |
Merge pull request #15570 from owncloud/shares-properlyformatmountpoint
Properly add trailing slash to mount point
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/files/mount/mountpoint.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/files/mount/mountpoint.php b/lib/private/files/mount/mountpoint.php index 30c06790944..f1e492c8603 100644 --- a/lib/private/files/mount/mountpoint.php +++ b/lib/private/files/mount/mountpoint.php @@ -113,10 +113,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); } /** |