mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Use RPC API version 1 by default
Most AUR helpers don't support the new format yet. Use version 1 of the API by default. In order to use the new format, "v=2" can be appended to the list of GET parameters. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
3447dfcbff
commit
c90faa44a1
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ include_once("aur.inc.php");
|
||||||
*/
|
*/
|
||||||
class AurJSON {
|
class AurJSON {
|
||||||
private $dbh = false;
|
private $dbh = false;
|
||||||
private $version = 2;
|
private $version = 1;
|
||||||
private static $exposed_methods = array(
|
private static $exposed_methods = array(
|
||||||
'search', 'info', 'multiinfo', 'msearch', 'suggest'
|
'search', 'info', 'multiinfo', 'msearch', 'suggest'
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue