mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-29 07:57:20 +02:00
Cleanup
- Removed stats message that was taskd-specific. It will be re-added for 2.1.
This commit is contained in:
parent
6580095002
commit
bdc1d558f5
1 changed files with 4 additions and 0 deletions
|
@ -256,12 +256,16 @@ int CmdStatistics::execute (std::string& output)
|
||||||
view.set (row, 1, format (STRING_CMD_STATS_CHARS, (int) (descLength / totalT)));
|
view.set (row, 1, format (STRING_CMD_STATS_CHARS, (int) (descLength / totalT)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
// TODO Re-enable this when 2.1 has taskd support. Until then, it makes no
|
||||||
|
// sense to include this.
|
||||||
row = view.addRow ();
|
row = view.addRow ();
|
||||||
view.set (row, 0, STRING_CMD_STATS_LAST_SYNCH);
|
view.set (row, 0, STRING_CMD_STATS_LAST_SYNCH);
|
||||||
if (context.tdb2.synch_key._file.exists ())
|
if (context.tdb2.synch_key._file.exists ())
|
||||||
view.set (row, 1, Date (context.tdb2.synch_key._file.mtime ()).toISO ());
|
view.set (row, 1, Date (context.tdb2.synch_key._file.mtime ()).toISO ());
|
||||||
else
|
else
|
||||||
view.set (row, 1, "-");
|
view.set (row, 1, "-");
|
||||||
|
*/
|
||||||
|
|
||||||
// If an alternating row color is specified, notify the table.
|
// If an alternating row color is specified, notify the table.
|
||||||
if (context.color ())
|
if (context.color ())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue