fix for sharing

Signed-off-by: Daniel Hansson <daniel@techandme.se>
This commit is contained in:
Daniel Hansson 2017-05-20 16:23:04 +02:00
parent a442c86a84
commit 119e8474b6
1 changed files with 1 additions and 0 deletions

View File

@ -198,6 +198,7 @@ class Manager {
$share = $this->getShare($id);
if ($share) {
\OC_Util::setupFS($this->uid);
$mountPoint = Files::buildNotExistingFileName('/', $share['name']);
$mountPoint = Filesystem::normalizePath('/' . $mountPoint);
$hash = md5($mountPoint);