fix for sharing stable12

Signed-off-by: Daniel Hansson <daniel@techandme.se>
This commit is contained in:
Daniel Hansson 2017-05-20 17:15:14 +02:00
parent df61c9e283
commit 8817c65120
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);