summaryrefslogtreecommitdiffstats
path: root/web/lib/aurjson.class.php
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2009-09-14 23:03:50 +0200
committerLoui Chang <louipc.ist@gmail.com>2009-09-14 23:03:50 +0200
commit1bf54a32c4f3f27ec6a72799d4ac651d22b77097 (patch)
treed2d8d3a3a48b6e6f94140932319188781819495a /web/lib/aurjson.class.php
parent2acb3e17fc802ffd362a4b8af9821aeab015999f (diff)
downloadaur-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/lib/aurjson.class.php')
-rw-r--r--web/lib/aurjson.class.php2
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