From f561035c879233a724252dc2aad4974a4b4355a6 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Tue, 30 Dec 2008 15:45:13 +0000 Subject: [PATCH] remove obsolete code --- lam/lib/modules/dhcp_settings.inc | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/lam/lib/modules/dhcp_settings.inc b/lam/lib/modules/dhcp_settings.inc index a3f01492..84835f37 100644 --- a/lam/lib/modules/dhcp_settings.inc +++ b/lam/lib/modules/dhcp_settings.inc @@ -338,28 +338,6 @@ By default, the nodes are configured as H-Nodes which fits for small networks. I $attr['dhcpOption'] = array(); } - // Alles aus den DDNS Bereich löschen: - /*if (!is_array($attr['dhcpStatements'])) { - $attr['dhcpStatements'] = array(); - } - - foreach($attr['dhcpStatements'] AS $index=>$value) { - $ex = explode(" ", $value); - - if ($ex[0]=="ignore") { - unset($attr['dhcpStatements'][$index]); - } - if ($ex[0]=="include") { - unset($attr['dhcpStatements'][$index]); - } - if ($ex[0]=="ddns-update-style") { - unset($attr['dhcpStatements'][$index]); - } - if ($ex[0]=="update-static-leases") { - unset($attr['dhcpStatements'][$index]); - } - } - */ if (count($attr['dhcpStatements']) == 0) { unset($attr['dhcpStatements']); }