]> source.dussan.org Git - nextcloud-server.git/commit
Even single shares are returned as array
authorRoeland Jago Douma <rullzer@owncloud.com>
Mon, 8 Feb 2016 09:11:22 +0000 (10:11 +0100)
committerRoeland Jago Douma <rullzer@owncloud.com>
Mon, 8 Feb 2016 09:11:22 +0000 (10:11 +0100)
commitca32778975323e743f0a0c7c548d44e283eb6813
tree8bb1a7a442d867b86da27bf89604ba047bc66753
parent4130639a7ede41e7178eb4ce1d4ba328a697f722
Even single shares are returned as array

When fetching a single share using ../shares/<ID> we should still return
an array of shares.

Fixes #22189
apps/files_sharing/api/share20ocs.php
apps/files_sharing/tests/api/share20ocstest.php