diff options
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 3761092..524c664 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -1005,23 +1005,6 @@ function auto_upgrade() { return; } -function xmlrpc_value_to_php($value) { - if($value->kindOf() == 'array') { - $toreturn = array(); - for($i= 0; $i < $value->arraysize(); $i++) { - $arrayval = $value->arraymem($i); - if($arrayval->kindOf() == 'array') { - $toreturn[] = xmlrpc_value_to_php($arrayval); - } else { - $toreturn[] = $arrayval->scalarval(); - } - } - } else { - $toreturn = $value->scalarval(); - } - return $toreturn; -} - /* * check_firmware_version(): Check whether the current firmware installed is the most recently released. */ |