[Pkg-owncloud-commits] [owncloud] 13/66: remove needless element tag
David Prévot
taffit at moszumanska.debian.org
Fri Apr 18 22:49:42 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v5.0.15
in repository owncloud.
commit b4b05c32916ee9bbb1edbf57a76a1ae2684c38d3
Author: Bjoern Schiessle <schiessle at owncloud.com>
Date: Thu Jan 30 13:34:41 2014 +0100
remove needless element tag
---
apps/files_sharing/lib/api.php | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/apps/files_sharing/lib/api.php b/apps/files_sharing/lib/api.php
index b301674..d703ac3 100644
--- a/apps/files_sharing/lib/api.php
+++ b/apps/files_sharing/lib/api.php
@@ -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);
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list