summaryrefslogtreecommitdiff
path: root/src/journal.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/journal.cc')
-rw-r--r--src/journal.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/journal.cc b/src/journal.cc
index 550b4f4c..b7ad9a23 100644
--- a/src/journal.cc
+++ b/src/journal.cc
@@ -126,9 +126,7 @@ bool journal_t::add_xact(xact_t * xact)
{
xact->journal = this;
- if (! xact_finalize_hooks.run_hooks(*xact, false) ||
- ! xact->finalize() ||
- ! xact_finalize_hooks.run_hooks(*xact, true)) {
+ if (! xact->finalize() || ! xact_finalize_hooks.run_hooks(*xact)) {
xact->journal = NULL;
return false;
}