RTIR 3.2.1 Documentation

RT::Action::RTIR SetBlockStatus

Go to latest version →


RT::Action::RTIR_SetBlockStatus - sets status of the block acording to a few rules


If transaction is inbound and status is pending then change it to corresponding not pending status. This rule can be protected with $RTIR_BlockAproveActionRegexp option. Content of the transaction should match the regexp if it's defined. Statuses are hardcoded and can not be changed or this will not work properly.

If block is in an inactive status (by default 'removed') then status changed to first possible active status for blocks' lifecycle (by default 'active').

In all other cases status left unchanged.


Applies rules described above in "DESCRIPTION" section.

← Back to index