summaryrefslogtreecommitdiff
path: root/includes/xmlrpc.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-06-15 10:10:47 +0000
committerDries Buytaert <dries@buytaert.net>2009-06-15 10:10:47 +0000
commit174aa41da0cdd8fde3c5daf304c372e5009331db (patch)
tree02fd6cba8c714ecc2d4bd732174109ebd9303fa9 /includes/xmlrpc.inc
parentecc24c5afac6e1bedff40e48d8f5bed77f66d836 (diff)
downloadbrdo-174aa41da0cdd8fde3c5daf304c372e5009331db.tar.gz
brdo-174aa41da0cdd8fde3c5daf304c372e5009331db.tar.bz2
- Patch #491978 by Berdir: remove unnecessary &s.
Diffstat (limited to 'includes/xmlrpc.inc')
-rw-r--r--includes/xmlrpc.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/xmlrpc.inc b/includes/xmlrpc.inc
index 99ad82011..767ca101f 100644
--- a/includes/xmlrpc.inc
+++ b/includes/xmlrpc.inc
@@ -51,7 +51,7 @@ function xmlrpc_value($data, $type = FALSE) {
* @see
* http://www.xmlrpc.com/spec#scalars
*/
-function xmlrpc_value_calculate_type(&$xmlrpc_value) {
+function xmlrpc_value_calculate_type($xmlrpc_value) {
// http://www.php.net/gettype: Never use gettype() to test for a certain type [...] Instead, use the is_* functions.
if (is_bool($xmlrpc_value->data)) {
return 'boolean';
@@ -156,7 +156,7 @@ function xmlrpc_message($message) {
* @return
* TRUE if parsing succeeded; FALSE otherwise
*/
-function xmlrpc_message_parse(&$xmlrpc_message) {
+function xmlrpc_message_parse($xmlrpc_message) {
// First remove the XML declaration
$xmlrpc_message->message = preg_replace('/<\?xml(.*)?\?' . '>/', '', $xmlrpc_message->message);
if (trim($xmlrpc_message->message) == '') {