Skip to content
Snippets Groups Projects
Commit 441a778b authored by George Kiagiadakis's avatar George Kiagiadakis
Browse files

session-item: introduce a rollback() virtual method

+ replace calling execute_step(..., STEP_ERROR) with rollback
+ implement deactivate internally using rollback

This unifies deactivation steps, which are common between deactivate()
and calling execute_step() with WP_TRANSITION_STEP_ERROR at the
end of a failed activation transition.
parent 6b51e584
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment