From 2ec9b6a7b24cdd3573a675bc3a27fbd3160ede26 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 15 Feb 2009 19:32:15 -0400 Subject: Split up session_t::reread_journal_files() You now call session_t::close_journal_files() followed by session_t::read_journal_files(). --- src/session.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/session.cc') 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() -- cgit v1.2.3