From e5ae7353cafdb32aaae797e23a099029d879da8f Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Thu, 4 Sep 2008 20:00:47 +0000 Subject: * removed default value for boot_type as that field no longer exists (it now is an attribute with automatic default value) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2206 95ad53e4-c205-0410-b2fa-d234c58c8868 --- config-db/OpenSLX/ConfigDB.pm | 6 ------ 1 file changed, 6 deletions(-) (limited to 'config-db') diff --git a/config-db/OpenSLX/ConfigDB.pm b/config-db/OpenSLX/ConfigDB.pm index 3cffb74b..cb34af4e 100644 --- a/config-db/OpenSLX/ConfigDB.pm +++ b/config-db/OpenSLX/ConfigDB.pm @@ -1918,12 +1918,6 @@ sub addClient my ($valRows, $attrValRows) = _cloneAndUnhingeAttrs($inValRows); - foreach my $valRow (@$valRows) { - if (!$valRow->{boot_type}) { - $valRow->{boot_type} = 'pxe'; - } - } - my @IDs = $self->{'meta-db'}->addClient($valRows, $attrValRows); return wantarray() ? @IDs : $IDs[0]; } -- cgit v1.2.3-55-g7522