summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/external/manager.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-07-01 14:58:07 +0200
committerRobin Appelman <icewind@owncloud.com>2014-07-01 14:58:07 +0200
commit8061a4ccc09bbd6ba675521d1f9e2ced396c862f (patch)
tree9c23d232de2e71e88b4ab4b284aeeaa4a2133b27 /apps/files_sharing/lib/external/manager.php
parent1c43081d3819ab360fad3f44b6cf2cd8d2cf25a9 (diff)
downloadnextcloud-server-8061a4ccc09bbd6ba675521d1f9e2ced396c862f.tar.gz
nextcloud-server-8061a4ccc09bbd6ba675521d1f9e2ced396c862f.zip
Remove external shares if the share is invalid
Diffstat (limited to 'apps/files_sharing/lib/external/manager.php')
-rw-r--r--apps/files_sharing/lib/external/manager.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/external/manager.php b/apps/files_sharing/lib/external/manager.php
index 4441a72fb16..e4e4d60029d 100644
--- a/apps/files_sharing/lib/external/manager.php
+++ b/apps/files_sharing/lib/external/manager.php
@@ -108,7 +108,9 @@ class Manager {
* @return Mount
*/
protected function mountShare($data) {
+ $data['manager'] = $this;
$mountPoint = '/' . $this->userSession->getUser()->getUID() . '/files' . $data['mountpoint'];
+ $data['mountpoint'] = $mountPoint;
$mount = new Mount(self::STORAGE, $mountPoint, $data, $this, $this->storageLoader);
$this->mountManager->addMount($mount);
return $mount;