function RulesState::restoreBlocks

Restores the before-serialization blocked configurations.

Warning: This overwrites any possible currently blocked configs. Thus do not invoke this method if there might be evaluations active.

File

includes/rules.state.inc, line 362

Class

RulesState
The rules evaluation state.

Code

public function restoreBlocks() {
    self::$blocked = $this->currentlyBlocked;
}