提交 3a156ec8 编写于 作者: A Aaron Patterson

remove useless conditional

`@reflects_state[depth+1]` will always be nil because we haven't made a
method call that would make it true yet.
上级 4cfa10cd
......@@ -522,7 +522,7 @@ def update_attributes_from_transaction_state(transaction_state, depth)
@reflects_state[depth] = true
end
if transaction_state.parent && !@reflects_state[depth+1]
if transaction_state.parent
update_attributes_from_transaction_state(transaction_state.parent, depth+1)
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册