summaryrefslogtreecommitdiffstats
path: root/etc/inc/pfsense-utils.inc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-07-09 23:09:02 +0000
committerErmal Luçi <eri@pfsense.org>2009-07-09 23:09:07 +0000
commit80f8f00ce8cace253e870f5ca5fa791b1c26b884 (patch)
tree1364d248071628a4317c18c722d0b9fa2a706b8c /etc/inc/pfsense-utils.inc
parentcaee65e326c781696c3bac5d347578f830b0fb5e (diff)
downloadpfsense-80f8f00ce8cace253e870f5ca5fa791b1c26b884.zip
pfsense-80f8f00ce8cace253e870f5ca5fa791b1c26b884.tar.gz
Remove double global declaration
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r--etc/inc/pfsense-utils.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index f6669c9..3e48c07 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -972,7 +972,7 @@ function call_pfsense_method($method, $params, $timeout = 0) {
$ip = gethostbyname($g['product_website']);
if($ip == $g['product_website'])
return false;
- global $g, $config;
+
$xmlrpc_base_url = $g['xmlrpcbaseurl'];
$xmlrpc_path = $g['xmlrpcpath'];
$msg = new XML_RPC_Message($method, array(XML_RPC_Encode($params)));
OpenPOWER on IntegriCloud