Unset `path` for shared with me

The original path is not required for a share recipient.
This commit is contained in:
Lukas Reschke 2015-11-17 14:09:29 +01:00
parent 20c251a575
commit cbd94ce355
1 changed files with 1 additions and 0 deletions

View File

@ -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);