diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-04-28 18:17:25 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-04-28 18:54:26 +0200 |
commit | c90faa44a173c79643093b4613276b98721e590d (patch) | |
tree | ae245bc85d6dd4fea3e5f7cb9ac7565aa8cc2479 | |
parent | 3447dfcbff0e8d48e7eac19d5ea8e836a67692a0 (diff) | |
download | aurweb-c90faa44a173c79643093b4613276b98721e590d.tar.xz |
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>
-rw-r--r-- | web/lib/aurjson.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/aurjson.class.php b/web/lib/aurjson.class.php index 6dec083..50d859c 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' ); |