summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/external/manager.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/lib/external/manager.php')
-rw-r--r--apps/files_sharing/lib/external/manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/external/manager.php b/apps/files_sharing/lib/external/manager.php
index 968edba089a..35dcabbe50e 100644
--- a/apps/files_sharing/lib/external/manager.php
+++ b/apps/files_sharing/lib/external/manager.php
@@ -199,7 +199,7 @@ class Manager {
$data['manager'] = $this;
$mountPoint = '/' . $this->uid . '/files' . $data['mountpoint'];
$data['mountpoint'] = $mountPoint;
- $data['certificateManager'] = \OC::$server->getCertificateManager(\OC::$server->getUserSession()->getUser());
+ $data['certificateManager'] = \OC::$server->getCertificateManager($this->uid);
$mount = new Mount(self::STORAGE, $mountPoint, $data, $this, $this->storageLoader);
$this->mountManager->addMount($mount);
return $mount;