diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-06-25 12:10:15 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-06-25 12:10:15 +0200 |
commit | 65129ce9c3e951d10d8558d68e7b831db2726515 (patch) | |
tree | 07c688bf241360402706e89344001023b36a03f8 /web/lib/pkgbasefuncs.inc.php | |
parent | 91e6b5cb2f3d531ce40cd0331e2261d30766de47 (diff) | |
download | aur-65129ce9c3e951d10d8558d68e7b831db2726515.tar.gz aur-65129ce9c3e951d10d8558d68e7b831db2726515.tar.xz |
Make results consistent in RPC replies
Add RPC v3 which always returns a list of objects in RPC responses,
regardless of the request type. An empty list is returned when an error
occurs. The error message is moved to a separate "error" field.
Fixes FS#40963.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/lib/pkgbasefuncs.inc.php')
0 files changed, 0 insertions, 0 deletions