BUG#:5739
authorouyang.jian <ouyang.jian>
Tue, 5 Jun 2007 09:06:04 +0000 (09:06 +0000)
committerouyang.jian <ouyang.jian>
Tue, 5 Jun 2007 09:06:04 +0000 (09:06 +0000)
PEP#:284
TITLE: remove OS400 code

DESCRIPTION: remove OS400 code

src/Clients/cimauth/CIMAuthCommand.cpp

index e470472dc957950631c5c1f3c62da935f8701524..5e243cb1aefda12fd33084945b98c6a5e8b27e70 100644 (file)
 
 #include <Pegasus/Common/PegasusVersion.h>
 
-#ifdef PEGASUS_OS_OS400
-#include "qycmutiltyUtility.H"
-#endif
-
 PEGASUS_USING_STD;
 
 PEGASUS_NAMESPACE_BEGIN
@@ -1512,12 +1508,6 @@ int main (int argc, char* argv [])
     MessageLoader::_useProcessLocale = true;  //l10n set messageloading to process locale
     MessageLoader::setPegasusMsgHomeRelative(argv[0]);
 
-#ifdef PEGASUS_OS_OS400
-    if(FALSE == ycmCheckCmdAuthorities())
-    {
-        return 1;
-    }
-#else
     //
     // Check if root is issuing the command
     //
@@ -1531,7 +1521,6 @@ int main (int argc, char* argv [])
         cerr << MessageLoader::getMessage(parms) << endl;
         return 1;
     }
-#endif
 
     command.reset(new CIMAuthCommand ());