From 383d15cc06f4d30664b38144bb3d5ed41b011ea0 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 10 Sep 2006 20:26:21 +0000 Subject: We already check for $g['booting'] at the beginning of the function. Do not do it twice. --- etc/inc/filter.inc | 3 --- 1 file changed, 3 deletions(-) (limited to 'etc') diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 24707f1..bb962d7 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -2669,9 +2669,6 @@ function carp_sync_xml($url, $password, $sections, $port = 80, $method = 'pfsens $config_copy['filter']['rule'][$x]['descr'] = remove_special_characters($config_copy['filter']['rule'][$x]['descr']); } - if($g['booting']) - return; - foreach($sections as $section) { /* we can't use array_intersect_key() due to the vip 'special case' */ -- cgit v1.1