diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-01-15 20:21:47 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-01-15 20:21:47 +0100 |
commit | d33e57866500fce77664e958e4a5793af2fc8753 (patch) | |
tree | ee2e9eed9b79a8dd0235eb51b7664825b4c75424 /apps/files_sharing/api | |
parent | fcec704174a384f93214a1f2b83bed385e763ff6 (diff) | |
download | nextcloud-server-d33e57866500fce77664e958e4a5793af2fc8753.tar.gz nextcloud-server-d33e57866500fce77664e958e4a5793af2fc8753.zip |
[Share 2.0] Add share owner information to OCS Share API
Diffstat (limited to 'apps/files_sharing/api')
-rw-r--r-- | apps/files_sharing/api/share20ocs.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_sharing/api/share20ocs.php b/apps/files_sharing/api/share20ocs.php index c698dccefb8..e4cc50d9c1a 100644 --- a/apps/files_sharing/api/share20ocs.php +++ b/apps/files_sharing/api/share20ocs.php @@ -87,6 +87,8 @@ class Share20OCS { 'parent' => $share->getParent(), 'expiration' => null, 'token' => null, + 'uid_file_owner' => $share->getShareOwner()->getUID(), + 'displayname_file_owner' => $share->getShareOwner()->getDisplayName(), ]; $path = $share->getPath(); |