summaryrefslogtreecommitdiff
path: root/src/session.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-01-21 18:54:06 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-01-21 18:54:06 -0400
commiteb04b8be85e1af46ba94a00758a50cd1d97bf69e (patch)
treee4e3df56289b9ee69643c3b5a8db5c2c24eb9f8f /src/session.cc
parente4c7b1753bf5c0fb5f1dd89efeee733fb7b5be23 (diff)
downloadfork-ledger-eb04b8be85e1af46ba94a00758a50cd1d97bf69e.tar.gz
fork-ledger-eb04b8be85e1af46ba94a00758a50cd1d97bf69e.tar.bz2
fork-ledger-eb04b8be85e1af46ba94a00758a50cd1d97bf69e.zip
Changed the order in which options are processed, to provide for the correct
overrides. 1. Global defaults 2. Environment variable settings 3. Initialization file 4. Command-line arguments Whatever is later in the list overrides what is earlier.
Diffstat (limited to 'src/session.cc')
-rw-r--r--src/session.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/session.cc b/src/session.cc
index fa61e08b..4183e417 100644
--- a/src/session.cc
+++ b/src/session.cc
@@ -179,8 +179,6 @@ std::size_t session_t::read_data(journal_t& journal,
std::size_t entry_count = 0;
- read_init();
-
DEBUG("ledger.cache", "3. use_cache = " << use_cache);
if (use_cache && cache_file) {