From c90faa44a173c79643093b4613276b98721e590d Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Mon, 28 Apr 2014 18:17:25 +0200 Subject: 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 --- web/lib/aurjson.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/lib/aurjson.class.php') diff --git a/web/lib/aurjson.class.php b/web/lib/aurjson.class.php index 6dec0838..50d859c5 100644 --- a/web/lib/aurjson.class.php +++ b/web/lib/aurjson.class.php @@ -11,7 +11,7 @@ include_once("aur.inc.php"); */ class AurJSON { private $dbh = false; - private $version = 2; + private $version = 1; private static $exposed_methods = array( 'search', 'info', 'multiinfo', 'msearch', 'suggest' ); -- cgit v1.2.3-24-g4f1b