diff options
author | Renato Botelho <renato@netgate.com> | 2016-08-16 17:26:28 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-08-16 17:26:28 -0300 |
commit | 81891d1d7f76c7067c4228411757c6f3f73c87d7 (patch) | |
tree | 84103dc13b8ab8ffe2b50757690b94eff9c62b34 /src/etc/inc/xmlrpc.inc | |
parent | b885c8cfb299347572e30fc285ab219134b38d00 (diff) | |
download | pfsense-81891d1d7f76c7067c4228411757c6f3f73c87d7.zip pfsense-81891d1d7f76c7067c4228411757c6f3f73c87d7.tar.gz |
Remove unused functions
Diffstat (limited to 'src/etc/inc/xmlrpc.inc')
-rw-r--r-- | src/etc/inc/xmlrpc.inc | 15 |
1 files changed, 0 insertions, 15 deletions
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. |