From 81891d1d7f76c7067c4228411757c6f3f73c87d7 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Tue, 16 Aug 2016 17:26:28 -0300 Subject: Remove unused functions --- src/etc/inc/xmlrpc.inc | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/etc/inc/xmlrpc.inc') diff --git a/src/etc/inc/xmlrpc.inc b/src/etc/inc/xmlrpc.inc index e4497e1..640ae3c 100644 --- a/src/etc/inc/xmlrpc.inc +++ b/src/etc/inc/xmlrpc.inc @@ -36,21 +36,6 @@ function xmlrpc_params_to_php($params) { } /* - * xmlrpc_value_to_php: Convert an XMLRPC value into a PHP scalar/array and return it. - */ -function xmlrpc_value_to_php($raw_value) { - return XML_RPC_decode($raw_value); -} - -/* - * php_value_to_xmlrpc: Convert a PHP scalar or array into its XMLRPC equivalent. - */ -function php_value_to_xmlrpc($value, $force_array = false) { - $toreturn = XML_RPC_encode($value); - return $force_array ? array($toreturn) : $toreturn; -} - -/* * xmlrpc_auth: Handle basic crypt() authentication of an XMLRPC request. This function assumes that * $params[0] contains the local system's plaintext password and removes the password from * the array before returning it. -- cgit v1.1