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