remove needless element tag

This commit is contained in:
Bjoern Schiessle 2014-01-30 13:34:41 +01:00
parent 299a8285bd
commit f9d9a62e58
1 changed files with 1 additions and 2 deletions

View File

@ -178,8 +178,7 @@ class Api {
$share['received_from_displayname'] = \OCP\User::getDisplayName($receivedFrom['uid_owner']); $share['received_from_displayname'] = \OCP\User::getDisplayName($receivedFrom['uid_owner']);
} }
if ($share) { if ($share) {
$share['filename'] = $file['name']; $result = array_merge($result, $share);
$result[] = $share;
} }
} }