- The 'add' command was calling TDB2::add, but TDB::nextId.
This commit is contained in:
Paul Beckingham 2011-08-30 00:29:24 -04:00
parent f07ea0a26a
commit 72bd579cf4

View file

@ -64,10 +64,8 @@ int CmdAdd::execute (std::string& output)
context.tdb2.add (task);
// TODO This should be a call in to feedback.cpp.
/*
if (context.verbose ("new-id"))
output = format (STRING_CMD_ADD_FEEDBACK, context.tdb.nextId ()) + "\n";
*/
output = format (STRING_CMD_ADD_FEEDBACK, context.tdb2.next_id ()) + "\n";
/*
context.footnote (onProjectChange (task));
*/