CmdStop
- Converted from A3 modifications to Task::modify.
This commit is contained in:
@@ -61,9 +61,6 @@ int CmdStop::execute (std::string& output)
|
||||
return 1;
|
||||
}
|
||||
|
||||
// Apply the command line modifications to the new task.
|
||||
A3 modifications = context.a3.extract_modifications ();
|
||||
|
||||
// Accumulated project change notifications.
|
||||
std::map <std::string, std::string> projectChanges;
|
||||
|
||||
@@ -79,7 +76,7 @@ int CmdStop::execute (std::string& output)
|
||||
task->id,
|
||||
task->get ("description"));
|
||||
|
||||
modify_task_annotate (*task, modifications);
|
||||
task->modify (Task::modAnnotate);
|
||||
task->remove ("start");
|
||||
|
||||
if (context.config.getBoolean ("journal.time"))
|
||||
|
||||
Reference in New Issue
Block a user