diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-11-17 14:09:29 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-11-17 14:09:29 +0100 |
commit | cbd94ce355b18e591e2cb59a18db02c04e0b14c6 (patch) | |
tree | 947b413aa6766ca4bde58a26d64448eec7d3bac5 /apps/files_sharing/api | |
parent | 20c251a5755f7c218df2cafe9d5ba64036096815 (diff) | |
download | nextcloud-server-cbd94ce355b18e591e2cb59a18db02c04e0b14c6.tar.gz nextcloud-server-cbd94ce355b18e591e2cb59a18db02c04e0b14c6.zip |
Unset `path` for shared with me
The original path is not required for a share recipient.
Diffstat (limited to 'apps/files_sharing/api')
-rw-r--r-- | apps/files_sharing/api/local.php | 1 |
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); |