Commands - calendar

- Migrated handleReportCalendar to CmdCalendar.
This commit is contained in:
Paul Beckingham
2011-05-30 13:30:18 -04:00
parent a7d5641d00
commit 4c47748dd7
9 changed files with 656 additions and 561 deletions

View File

@@ -129,7 +129,6 @@ void Cmd::load ()
{
if (commands.size () == 0)
{
commands.push_back ("calendar");
commands.push_back ("delete");
commands.push_back ("done");
commands.push_back ("timesheet");
@@ -193,8 +192,7 @@ void Cmd::allCommands (std::vector <std::string>& all) const
// Commands that do not directly modify the data files.
bool Cmd::isReadOnlyCommand ()
{
if (command == "calendar" ||
command == "push" ||
if (command == "push" ||
command == "timesheet" ||
validCustom (command))
return true;