summaryrefslogtreecommitdiff
path: root/src/global.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-10-31 04:50:07 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-10-31 04:50:07 -0400
commit3909d2678ede154f9a7fe19617973d4daa173c47 (patch)
treeb8d85010bae44f1f4c7020d68e8b840b81da354f /src/global.cc
parent97a9b42b2c5ef908e0c47ecfd39771a79f8fa8a2 (diff)
downloadfork-ledger-3909d2678ede154f9a7fe19617973d4daa173c47.tar.gz
fork-ledger-3909d2678ede154f9a7fe19617973d4daa173c47.tar.bz2
fork-ledger-3909d2678ede154f9a7fe19617973d4daa173c47.zip
Removed most #if 0 blocks and callout comments
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 9ba2a357..d9028dd7 100644
--- a/src/global.cc
+++ b/src/global.cc
@@ -431,7 +431,6 @@ void global_scope_t::normalize_report_options(const string& verb)
}
#endif
- // jww (2009-02-09): These globals are a hack, but hard to avoid.
item_t::use_effective_date = (rep.HANDLED(effective) &&
! rep.HANDLED(actual_dates));
@@ -458,9 +457,6 @@ void global_scope_t::normalize_report_options(const string& verb)
start_of_week = *weekday;
}
- // jww (2008-08-14): This code really needs to be rationalized away for 3.0.
- // I might be able to do it with command objects, like register_t, which
- // each know how to adjust the report based on its current option settings.
if (verb == "print" || verb == "xact" || verb == "dump") {
rep.HANDLER(related).on_only(string("?normalize"));
rep.HANDLER(related_all).on_only(string("?normalize"));