diff options
author | Loui Chang <louipc.ist@gmail.com> | 2009-09-14 23:03:50 +0200 |
---|---|---|
committer | Loui Chang <louipc.ist@gmail.com> | 2009-09-14 23:03:50 +0200 |
commit | 1bf54a32c4f3f27ec6a72799d4ac651d22b77097 (patch) | |
tree | d2d8d3a3a48b6e6f94140932319188781819495a /web | |
parent | 2acb3e17fc802ffd362a4b8af9821aeab015999f (diff) | |
download | aur-1bf54a32c4f3f27ec6a72799d4ac651d22b77097.tar.gz aur-1bf54a32c4f3f27ec6a72799d4ac651d22b77097.tar.xz |
aurjson: Use call_user_func to call functions.
call_user_func_array is unnecessary.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web')
-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 29fc4244..ba6d628c 100644 --- a/web/lib/aurjson.class.php +++ b/web/lib/aurjson.class.php @@ -42,7 +42,7 @@ class AurJSON { $this->dbh = db_connect(); // ugh. this works. I hate you php. - $json = call_user_func_array(array(&$this,$http_data['type']), + $json = call_user_func(array(&$this,$http_data['type']), $http_data['arg']); // allow rpc callback for XDomainAjax |