summaryrefslogtreecommitdiff
path: root/src/global.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-12 03:30:41 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-12 03:30:41 -0400
commitc8cd2c468e202f07af187590dcdc07935b6918f6 (patch)
tree397504912c30945f3bc607778d3471c1a41ccdd7 /src/global.cc
parentbb243e2c5e68a04d0da4c8c20a74b5b8acf7ecdb (diff)
downloadfork-ledger-c8cd2c468e202f07af187590dcdc07935b6918f6.tar.gz
fork-ledger-c8cd2c468e202f07af187590dcdc07935b6918f6.tar.bz2
fork-ledger-c8cd2c468e202f07af187590dcdc07935b6918f6.zip
Re-enabled some code, and removed a bunch of deadwood.
Diffstat (limited to 'src/global.cc')
-rw-r--r--src/global.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/global.cc b/src/global.cc
index f84eef65..c012b17d 100644
--- a/src/global.cc
+++ b/src/global.cc
@@ -196,9 +196,6 @@ void global_scope_t::execute_command(strings_list args, bool at_repl)
if (! is_precommand) {
if (! at_repl)
read_journal_files();
-
- // jww (2009-02-02): This is a complete hack, and a leftover from long,
- // long ago. The question is, how best to remove its necessity...
normalize_report_options(verb);
}
@@ -387,7 +384,6 @@ void global_scope_t::normalize_report_options(const string& verb)
// jww (2008-08-14): This code really needs to be rationalized away
// for 3.0.
-
if (verb == "print" || verb == "entry" || verb == "dump") {
rep.HANDLER(related).on();
rep.HANDLER(related_all).on();