summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-09-18 07:19:32 +0000
committerColin Smith <colin@pfsense.org>2005-09-18 07:19:32 +0000
commitd1779cc4ba810d87a8be2ecfba5d8ce43a1466b3 (patch)
treeead67493077376d45a1540ea2f822410787342e2
parent8f71fabae3557995c0d38cbcce12a44f66d859cb (diff)
downloadpfsense-d1779cc4ba810d87a8be2ecfba5d8ce43a1466b3.zip
pfsense-d1779cc4ba810d87a8be2ecfba5d8ce43a1466b3.tar.gz
Fix system_firmware_check.php
-rw-r--r--etc/inc/pfsense-utils.inc17
1 files changed, 3 insertions, 14 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index dc56236..366686b 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -6,6 +6,7 @@
* This include contains various pfSense specific functions.
* HISTORY
* $Id$
+ * $Id$
******
*
* Copyright (C) 2005 Scott Ullrich (sullrich@gmail.com)
@@ -717,18 +718,6 @@ function backup_config_section($section) {
}
/*
- * backup_config_ts_scheduler(): returns the traffic shaper scheduler for backup
- */
-function backup_config_ts_scheduler() {
- global $config;
- $new_section = &$config['syste']['schedulertype'];
- /* generate configuration XML */
- $xmlconfig = dump_xml_config($new_section, $section);
- $xmlconfig = str_replace("<?xml version=\"1.0\"?>", "", $xmlconfig);
- return $xmlconfig;
-}
-
-/*
* backup_config_section($section): returns as an xml file string of
* the configuration section
*/
@@ -966,7 +955,7 @@ function check_firmware_version($tocheck = "all", $return_php = true) {
if(!$resp or $resp->faultCode()) {
$raw_versions = false;
} else {
- $raw_versions = xmlrpc_value_to_php($resp->value());
+ $raw_versions = XML_RPC_decode($resp->value());
$raw_versions["current"] = $params;
}
return $raw_versions;
@@ -1244,4 +1233,4 @@ function reload_all_sync() {
}
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud