mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
init: Settings stored in rules
This commit is contained in:
parent
b612acf7ef
commit
0403c21002
1 changed files with 0 additions and 4 deletions
|
@ -112,16 +112,12 @@ void initializeData (
|
|||
// This value is not written out to disk, as there would be no point. Having
|
||||
// located the config file, the 'db' location is already known. This is just
|
||||
// for subsequent internal use.
|
||||
/*
|
||||
rules.set ("db", dbLocation._data);
|
||||
log.write ("info", std::string (" rc.db=") + rules.get ("db"));
|
||||
*/
|
||||
|
||||
// Perhaps some subsequent code would like to know this is a new db and
|
||||
// possibly a first run.
|
||||
/*
|
||||
rules.set ("shiny", (shinyNewDatabase ? 1 : 0));
|
||||
*/
|
||||
|
||||
// Initialize the database (no data read), but files are enumerated.
|
||||
database.initialize (data._data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue