From fdc8935c8d3144c609ebf8b32288ac96561d6d92 Mon Sep 17 00:00:00 2001 From: Colin Smith Date: Thu, 7 Apr 2005 15:57:10 +0000 Subject: Remove unnecessary function. --- etc/inc/pfsense-utils.inc | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index f8933ba..9ed7cd8 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -977,17 +977,6 @@ function make_dirs($path, $mode = 0755) return is_dir($path) || (make_dirs(dirname($path), $mode) && safe_mkdir($path, $mode)); } - function carp_sync_xml($url, $password, $section, $section_xml, $method = 'pfsense.restore_config_section') { - $params = array(new XML_RPC_Value($password, 'string'), - new XML_RPC_Value($section, 'array'), - new XML_RPC_Value($section_xml, 'array')); - $msg = new XML_RPC_Message($method, $params); - $cli = new XML_RPC_Client('/xmlrpc.php', $url); - $cli->setCredentials('admin', $password); - $resp = $cli->send($msg); - } -} - /* * auto_upgrade(): Upgrade pfSense to the latest firmware version. */ -- cgit v1.1