summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/api
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-11-23 09:04:52 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-11-23 09:04:52 +0100
commit57c9aa3ca73745ddc1f0e7ec5a43a0af1b6d9644 (patch)
tree7d842b34bdc9bc259c323288f845f8b312b548d4 /apps/files_sharing/api
parent333232f66597a76709c37bb0e8ee05558fb8b240 (diff)
parentcbd94ce355b18e591e2cb59a18db02c04e0b14c6 (diff)
downloadnextcloud-server-57c9aa3ca73745ddc1f0e7ec5a43a0af1b6d9644.tar.gz
nextcloud-server-57c9aa3ca73745ddc1f0e7ec5a43a0af1b6d9644.zip
Merge pull request #20558 from owncloud/remove-path-from-shared-with
Unset `path` for shared with me
Diffstat (limited to 'apps/files_sharing/api')
-rw-r--r--apps/files_sharing/api/local.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/api/local.php b/apps/files_sharing/api/local.php
index bb5136a0c99..aaafafb269f 100644
--- a/apps/files_sharing/api/local.php
+++ b/apps/files_sharing/api/local.php
@@ -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);