summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-09-10 20:26:21 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-09-10 20:26:21 +0000
commit383d15cc06f4d30664b38144bb3d5ed41b011ea0 (patch)
treeb1b654afa1d927fa1402a4dffe1d5cbdf338b9b1 /etc
parent2ebd3617d05cfe2926e79e943e51359d60ba9fde (diff)
downloadpfsense-383d15cc06f4d30664b38144bb3d5ed41b011ea0.zip
pfsense-383d15cc06f4d30664b38144bb3d5ed41b011ea0.tar.gz
We already check for $g['booting'] at the beginning of the function. Do not do it twice.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc3
1 files changed, 0 insertions, 3 deletions
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' */
OpenPOWER on IntegriCloud