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