From 3909d2678ede154f9a7fe19617973d4daa173c47 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 31 Oct 2009 04:50:07 -0400 Subject: Removed most #if 0 blocks and callout comments --- src/global.cc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/global.cc') 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")); -- cgit v1.2.3