Merge pull request #20558 from owncloud/remove-path-from-shared-with
Unset `path` for shared with me
This commit is contained in:
commit
57c9aa3ca7
|
@ -233,6 +233,7 @@ class Local {
|
||||||
if (\OC::$server->getPreviewManager()->isMimeSupported($share['mimetype'])) {
|
if (\OC::$server->getPreviewManager()->isMimeSupported($share['mimetype'])) {
|
||||||
$share['isPreviewAvailable'] = true;
|
$share['isPreviewAvailable'] = true;
|
||||||
}
|
}
|
||||||
|
unset($share['path']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$result = new \OC_OCS_Result($shares);
|
$result = new \OC_OCS_Result($shares);
|
||||||
|
|
Loading…
Reference in New Issue