diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-15 19:32:15 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-15 19:32:15 -0400 |
commit | 2ec9b6a7b24cdd3573a675bc3a27fbd3160ede26 (patch) | |
tree | 50c7de279670cdb8809504c4704393dae7be567f /src/session.cc | |
parent | 6bfb4206b15f7b0b9ecef785ee5e01b63142dcf7 (diff) | |
download | fork-ledger-2ec9b6a7b24cdd3573a675bc3a27fbd3160ede26.tar.gz fork-ledger-2ec9b6a7b24cdd3573a675bc3a27fbd3160ede26.tar.bz2 fork-ledger-2ec9b6a7b24cdd3573a675bc3a27fbd3160ede26.zip |
Split up session_t::reread_journal_files()
You now call session_t::close_journal_files() followed by
session_t::read_journal_files().
Diffstat (limited to 'src/session.cc')
-rw-r--r-- | src/session.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/session.cc b/src/session.cc index 52c84acb..5bc7ed8d 100644 --- a/src/session.cc +++ b/src/session.cc @@ -165,7 +165,7 @@ void session_t::read_journal_files() INFO("Found " << count << " entries"); } -void session_t::reread_journal_files() +void session_t::close_journal_files() { journal.reset(); master.reset(); @@ -176,8 +176,6 @@ void session_t::reread_journal_files() amount_t::initialize(commodity_pool); master.reset(new account_t); journal.reset(new journal_t(master.get())); - - read_journal_files(); } void session_t::clean_xacts() |