You are here

public function RulesState::restoreBlocks in Rules 7.2

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 350
Contains the state and data related stuff.

Class

RulesState
The rules evaluation state.

Code

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