summaryrefslogtreecommitdiff
path: root/src/xact.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-01 16:25:20 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-01 16:25:20 -0500
commita048afc8a34d3a1c1a6372ef6b7cc373779bcac0 (patch)
tree00163f9f30074c9ae259e977676ee351ce3bb5bf /src/xact.cc
parent0cb80a51ea2d64e2069d6ef9d3a42a0996b73c88 (diff)
parent4fcbef3b0cec9c1a55395c76bd03017167453cc5 (diff)
downloadfork-ledger-a048afc8a34d3a1c1a6372ef6b7cc373779bcac0.tar.gz
fork-ledger-a048afc8a34d3a1c1a6372ef6b7cc373779bcac0.tar.bz2
fork-ledger-a048afc8a34d3a1c1a6372ef6b7cc373779bcac0.zip
Merge branch 'next'
Diffstat (limited to 'src/xact.cc')
-rw-r--r--src/xact.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/xact.cc b/src/xact.cc
index 34b8c340..3670cb94 100644
--- a/src/xact.cc
+++ b/src/xact.cc
@@ -457,10 +457,6 @@ bool xact_t::valid() const
DEBUG("ledger.validate", "xact_t: ! _date");
return false;
}
- if (! has_flags(ITEM_GENERATED | ITEM_TEMP) && ! journal) {
- DEBUG("ledger.validate", "xact_t: ! journal");
- return false;
- }
foreach (post_t * post, posts)
if (post->xact != this || ! post->valid()) {