Merge pull request #20558 from owncloud/remove-path-from-shared-with

Unset `path` for shared with me
This commit is contained in:
Thomas Müller 2015-11-23 09:04:52 +01:00
commit 57c9aa3ca7

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