Skip to content
Snippets Groups Projects
Commit 9a0d7c5b authored by Björn Schießle's avatar Björn Schießle
Browse files

Merge pull request #7014 from owncloud/fix_ocs_share_api

remove needless element tag from the ocs share api
parents c0aeaf9e f9d9a62e
No related branches found
No related tags found
No related merge requests found
......@@ -178,8 +178,7 @@ class Api {
$share['received_from_displayname'] = \OCP\User::getDisplayName($receivedFrom['uid_owner']);
}
if ($share) {
$share['filename'] = $file['name'];
$result[] = $share;
$result = array_merge($result, $share);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment