Merge pull request #4997 from nextcloud/federated-share-fix
fix for sharing
This commit is contained in:
commit
2dbd389bdb
|
@ -198,6 +198,7 @@ class Manager {
|
||||||
$share = $this->getShare($id);
|
$share = $this->getShare($id);
|
||||||
|
|
||||||
if ($share) {
|
if ($share) {
|
||||||
|
\OC_Util::setupFS($this->uid);
|
||||||
$mountPoint = Files::buildNotExistingFileName('/', $share['name']);
|
$mountPoint = Files::buildNotExistingFileName('/', $share['name']);
|
||||||
$mountPoint = Filesystem::normalizePath('/' . $mountPoint);
|
$mountPoint = Filesystem::normalizePath('/' . $mountPoint);
|
||||||
$hash = md5($mountPoint);
|
$hash = md5($mountPoint);
|
||||||
|
|
Loading…
Reference in New Issue