summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-04-21 02:48:14 +0000
committerColin Smith <colin@pfsense.org>2005-04-21 02:48:14 +0000
commit6a88169f8804ee04084b5e861e8b89247514019e (patch)
treed2e8b259a1d791aab8938496d1013444f5b078e9 /etc
parent31022fd433b04a14d108d7fef89f1cd77ae4ed2d (diff)
downloadpfsense-6a88169f8804ee04084b5e861e8b89247514019e.zip
pfsense-6a88169f8804ee04084b5e861e8b89247514019e.tar.gz
xmlrpc_value_to_php() is now in xmlrpc.inc.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pfsense-utils.inc17
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.
*/
OpenPOWER on IntegriCloud