diff options
author | Andreas Gohr <andi@splitbrain.org> | 2010-01-15 19:50:13 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2010-01-15 19:50:13 +0100 |
commit | 49eb6e38061d744f4a35b78082dce49fa35f79c8 (patch) | |
tree | ababa433d605b4b15ca33fb6b7dd6988b6411b4c /inc/IXR_Library.php | |
parent | 33e0cc3c9762a97626460911f3415b1564e564c3 (diff) | |
download | rpg-49eb6e38061d744f4a35b78082dce49fa35f79c8.tar.gz rpg-49eb6e38061d744f4a35b78082dce49fa35f79c8.tar.bz2 |
some more coding standard compliance updates
Diffstat (limited to 'inc/IXR_Library.php')
-rw-r--r-- | inc/IXR_Library.php | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/inc/IXR_Library.php b/inc/IXR_Library.php index 2752e31f2..25d1066b0 100644 --- a/inc/IXR_Library.php +++ b/inc/IXR_Library.php @@ -300,7 +300,7 @@ class IXR_Server { if (!$data) { global $HTTP_RAW_POST_DATA; if (!$HTTP_RAW_POST_DATA) { - die('XML-RPC server accepts POST requests only.'); + die('XML-RPC server accepts POST requests only.'); } $data = $HTTP_RAW_POST_DATA; } @@ -342,14 +342,13 @@ EOD; $method = $this->callbacks[$methodname]; // Perform the callback and send the response -# Removed for DokuWiki to have a more consistent interface -# if (count($args) == 1) { -# // If only one paramater just send that instead of the whole array -# $args = $args[0]; -# } + # Removed for DokuWiki to have a more consistent interface + # if (count($args) == 1) { + # // If only one paramater just send that instead of the whole array + # $args = $args[0]; + # } - -# Adjusted for DokuWiki to use call_user_func_array + # Adjusted for DokuWiki to use call_user_func_array // args need to be an array $args = (array) $args; |