summaryrefslogtreecommitdiff
path: root/src/post.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/post.cc')
-rw-r--r--src/post.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/post.cc b/src/post.cc
index 8293bfe4..5c0d98e7 100644
--- a/src/post.cc
+++ b/src/post.cc
@@ -102,17 +102,6 @@ optional<date_t> post_t::effective_date() const
return date;
}
-item_t::state_t post_t::state() const
-{
- if (xact) {
- state_t xact_state = xact->state();
- if ((_state == UNCLEARED && xact_state != UNCLEARED) ||
- (_state == PENDING && xact_state == CLEARED))
- return xact_state;
- }
- return _state;
-}
-
namespace {
value_t get_this(post_t& post) {
return value_t(static_cast<scope_t *>(&post));