function RulesIdentifiableDataWrapper::__wakeup

Prepare for unserialization.

File

includes/rules.state.inc, line 781

Class

RulesIdentifiableDataWrapper
A wrapper class similar to the EntityDrupalWrapper, but for non-entities.

Code

public function __wakeup() {
    if ($this->id !== FALSE) {
        // Make sure data is set, so the data will be loaded when needed.
        $this->data = FALSE;
    }
}