mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 06:37:56 -04:00
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
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