From 2ab1270dfa2031367d3494dc3aec13dc89b885a6 Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Tue, 4 Nov 2008 07:12:17 +0000 Subject: [PATCH] git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2460 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/DBobjectdefs.pm | 4 ---- xCAT-server/lib/xcat/plugins/xcat2nim.pm | 4 ---- 2 files changed, 8 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm index 5cd2a1ee6..5943ea7ef 100644 --- a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm +++ b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm @@ -653,10 +653,6 @@ sub processArgs # must have object name(s) - if ((scalar(@::clobjnames) == 0) && (scalar(@::fileobjnames) == 0)) { - my $rsp; - $rsp->{data}->[0] = - "Could not determine what object definitions to remove.\n"; - xCAT::MsgUtils->message("E", $rsp, $::callback); return 3; } diff --git a/xCAT-server/lib/xcat/plugins/xcat2nim.pm b/xCAT-server/lib/xcat/plugins/xcat2nim.pm index 03b2b2de7..d4e2c3e61 100644 --- a/xCAT-server/lib/xcat/plugins/xcat2nim.pm +++ b/xCAT-server/lib/xcat/plugins/xcat2nim.pm @@ -576,10 +576,6 @@ sub processArgs # must have object name(s) - if (!@::clobjnames) { - my $rsp; - $rsp->{data}->[0] = - "$::msgstr Could not determine what object definitions to remove.\n"; - xCAT::MsgUtils->message("E", $rsp, $::callback); return 3; }