summaryrefslogtreecommitdiff
path: root/src/report.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/report.cc')
-rw-r--r--src/report.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/report.cc b/src/report.cc
index 689028d0..2d825751 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -878,12 +878,9 @@ value_t report_t::echo_command(call_scope_t& args)
value_t report_t::pricemap_command(call_scope_t& args)
{
std::ostream& out(output_stream);
-#if 0
- // jww (2012-03-04): TODO
- commodity_pool_t::current_pool->print_pricemap
- (out, what_to_keep(), args.has<string>(0) ?
+ commodity_pool_t::current_pool->commodity_price_history.print_map
+ (out, args.has<string>(0) ?
optional<datetime_t>(datetime_t(parse_date(args.get<string>(0)))) : none);
-#endif
return true;
}