Merge pull request #4998 from nextcloud/fix-for-sharing-stable-12
fix for sharing stable12
This commit is contained in:
commit
394023949e
|
@ -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