Set all to seen if new state is pending reminder state.

This commit is contained in:
Martin Edenhofer 2015-08-31 11:13:40 +02:00
parent 4e35d9b3cc
commit 616237d5c7

View file

@ -243,6 +243,9 @@ returns
state_type = Ticket::StateType.lookup( id: state.state_type_id ) state_type = Ticket::StateType.lookup( id: state.state_type_id )
end end
# set all to seen if new state is pending reminder state
return true if state_type.name == 'pending reminder'
# set all to seen if new state is a closed or merged state # set all to seen if new state is a closed or merged state
return true if state_type.name == 'closed' return true if state_type.name == 'closed'
return true if state_type.name == 'merged' return true if state_type.name == 'merged'