diff options
author | Ermal <eri@pfsense.org> | 2014-03-26 17:43:19 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-03-26 17:43:19 +0000 |
commit | 6e331564545a55fa6fce94933434fb71f0fc7f37 (patch) | |
tree | c0e826a87fc6673fb61d216f236dee1bb5d4d3ab | |
parent | b305f79584205c2094746288a608c9f8eac6936a (diff) | |
download | pfsense-6e331564545a55fa6fce94933434fb71f0fc7f37.zip pfsense-6e331564545a55fa6fce94933434fb71f0fc7f37.tar.gz |
Remove unused function
-rw-r--r-- | usr/local/www/vpn_ipsec.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/usr/local/www/vpn_ipsec.php b/usr/local/www/vpn_ipsec.php index c94584e..def7469 100644 --- a/usr/local/www/vpn_ipsec.php +++ b/usr/local/www/vpn_ipsec.php @@ -88,7 +88,6 @@ if ($_GET['act'] == "delph1") $ikeid = $a_phase1[$_GET['p1index']]['ikeid']; foreach ($a_phase2 as $p2index => $ph2tmp) if ($ph2tmp['ikeid'] == $ikeid) { - remove_tunnel_spd_policy($a_phase1[$_GET['p1index']],$a_phase2[$p2index]); unset($a_phase2[$p2index]); } @@ -105,7 +104,6 @@ if ($_GET['act'] == "delph1") if ($_GET['act'] == "delph2") { if ($a_phase1[$_GET['p1index']] && $a_phase2[$_GET['p2index']]) { - remove_tunnel_spd_policy($a_phase1[$_GET['p1index']],$a_phase2[$_GET['p2index']]); /* remove the phase2 entry */ unset($a_phase2[$_GET['p2index']]); vpn_ipsec_configure(); |