Unset `path` for shared with me
The original path is not required for a share recipient.
This commit is contained in:
parent
20c251a575
commit
cbd94ce355
|
@ -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 New Issue