diff options
author | John Wiegley <johnw@newartisans.com> | 2007-05-06 10:29:05 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:38 -0400 |
commit | b95aa8d4ca5193187f34b7ec6db28a767f110ecd (patch) | |
tree | 745065f6a8fac2ec009fa3f86f97b513145040ea /src/commodity.cc | |
parent | 0528a1e49a82221e63039abc7f759a43f4d4ffc9 (diff) | |
download | fork-ledger-b95aa8d4ca5193187f34b7ec6db28a767f110ecd.tar.gz fork-ledger-b95aa8d4ca5193187f34b7ec6db28a767f110ecd.tar.bz2 fork-ledger-b95aa8d4ca5193187f34b7ec6db28a767f110ecd.zip |
Some slight reorg.
Diffstat (limited to 'src/commodity.cc')
-rw-r--r-- | src/commodity.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/commodity.cc b/src/commodity.cc index ababfd67..7d769364 100644 --- a/src/commodity.cc +++ b/src/commodity.cc @@ -267,14 +267,6 @@ commodity_pool_t::commodity_pool_t() : default_commodity(NULL) null_commodity = create(""); null_commodity->add_flags(COMMODITY_STYLE_NOMARKET | COMMODITY_STYLE_BUILTIN); - - // Add time commodity conversions, so that timelog's may be parsed - // in terms of seconds, but reported as minutes or hours. - commodity_t * commodity = create("s"); - commodity->add_flags(COMMODITY_STYLE_NOMARKET | COMMODITY_STYLE_BUILTIN); - - amount_t::parse_conversion(*this, "1.0m", "60s"); - amount_t::parse_conversion(*this, "1.0h", "60m"); } commodity_t * commodity_pool_t::create(const string& symbol) |