mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
CmdStart: Removed log
This commit is contained in:
parent
035d1c764c
commit
45cbe7d817
3 changed files with 3 additions and 5 deletions
|
@ -34,8 +34,7 @@
|
|||
int CmdStart (
|
||||
CLI& cli,
|
||||
Rules& rules,
|
||||
Database& database,
|
||||
Log& log)
|
||||
Database& database)
|
||||
{
|
||||
// Load the most recent interval.
|
||||
auto latest = database.getLatestInterval ();
|
||||
|
@ -49,7 +48,6 @@ int CmdStart (
|
|||
|
||||
// Update database.
|
||||
database.modifyInterval (latest);
|
||||
log.write ("debug", std::string ("Stopped tracking: ") + latest.serialize ());
|
||||
|
||||
// User feedback.
|
||||
if (rules.getBoolean ("verbose"))
|
||||
|
@ -67,7 +65,6 @@ int CmdStart (
|
|||
|
||||
// Update database.
|
||||
database.addInterval (now);
|
||||
log.write ("debug", std::string ("Started tracking: ") + now.serialize ());
|
||||
|
||||
// User feedback.
|
||||
if (rules.getBoolean ("verbose"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue