CmdLogo: Code cleanup

This commit is contained in:
Paul Beckingham 2017-01-28 16:22:43 -05:00
parent 00a4cbf906
commit 1c1d9428c5

View file

@ -49,11 +49,6 @@ CmdLogo::CmdLogo ()
} }
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// Algorithm:
// Copy file rc.data.location/extensions
// Generate UUID
// Call the "install" function once, store results in rc:
// extension.<uuid>=<JSON>
int CmdLogo::execute (std::string& output) int CmdLogo::execute (std::string& output)
{ {
static const char* data[] = static const char* data[] =
@ -89,7 +84,7 @@ int CmdLogo::execute (std::string& output)
"" ""
}; };
if (!context.color ()) if (! context.color ())
throw std::string (STRING_CMD_LOGO_COLOR_REQ); throw std::string (STRING_CMD_LOGO_COLOR_REQ);
std::string indent (context.config.getInteger ("indent.report"), ' '); std::string indent (context.config.getInteger ("indent.report"), ' ');