Cleanup
- Removed stats message that was taskd-specific. It will be re-added for 2.1.
This commit is contained in:
@@ -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 ())
|
||||||
|
|||||||
Reference in New Issue
Block a user