mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-44717 events: Event restore process must call the init() method
This commit is contained in:
parent
7ed25f480b
commit
85a4b8a3ce
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user