Code Cleanup
- Removed last traces of synch.key.
This commit is contained in:
@@ -63,12 +63,7 @@ int CmdStatistics::execute (std::string& output)
|
||||
size_t dataSize = context.tdb2.pending._file.size ()
|
||||
+ context.tdb2.completed._file.size ()
|
||||
+ context.tdb2.undo._file.size ()
|
||||
/*
|
||||
// TODO Re-enable this once 2.1 has taskd support.
|
||||
+ context.tdb2.backlog._file.size ()
|
||||
+ context.tdb2.synch_key._file.size ()
|
||||
*/
|
||||
;
|
||||
+ context.tdb2.backlog._file.size ();
|
||||
|
||||
// Count the undo transactions.
|
||||
std::vector <std::string> undoTxns = context.tdb2.undo.get_lines ();
|
||||
@@ -277,10 +272,7 @@ int CmdStatistics::execute (std::string& output)
|
||||
// sense to include this.
|
||||
row = view.addRow ();
|
||||
view.set (row, 0, STRING_CMD_STATS_LAST_SYNC);
|
||||
if (context.tdb2.synch_key._file.exists ())
|
||||
view.set (row, 1, Date (context.tdb2.synch_key._file.mtime ()).toISO ());
|
||||
else
|
||||
view.set (row, 1, "-");
|
||||
view.set (row, 1, "-");
|
||||
*/
|
||||
|
||||
// If an alternating row color is specified, notify the table.
|
||||
|
||||
Reference in New Issue
Block a user