From 14d8fa584d005dbe6be3fd881770406847401a82 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Fri, 27 Nov 2009 09:40:11 +0000 Subject: [PATCH] removed obsolete code --- lam/lib/modules/range.inc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lam/lib/modules/range.inc b/lam/lib/modules/range.inc index b671094c..1689714f 100644 --- a/lam/lib/modules/range.inc +++ b/lam/lib/modules/range.inc @@ -376,13 +376,10 @@ class range extends baseModule { * It will output a complete html-table */ public function display_html_attributes() { - // user name if no posixAccount - $modules = $_SESSION['config']->get_AccountModules($this->get_scope()); if ($this->getAccountContainer()->getAccountModule('dhcp_settings')->attributes['cn'][0]=="") { echo "" . _("Please fill out the DHCP settings first.") . ""; } - else - { + else { // If $ranges is not a array, then create it if (!is_array($this->ranges)) {