MDL-44717 events: Event restore process must call the init() method

This commit is contained in:
Ankit Agarwal 2014-04-01 14:51:02 +08:00
parent 7ed25f480b
commit 85a4b8a3ce

View File

@ -345,6 +345,7 @@ abstract class base implements \IteratorAggregate {
return false;
}
$event->init(); // Init method of events could be setting custom properties.
$event->restored = true;
$event->triggered = true;
$event->dispatched = true;