-
Bug
-
Resolution: Fixed
-
Minor
-
2.6
-
MOODLE_26_STABLE
-
MOODLE_26_STABLE
-
MDL-40963-master -
-
BACKEND Sprint 3
If a event doesn't implement get_name() method, the name of the event defaults to "core: base" always, instead of expected "frankenstyle: class_name", since _CLASS_ always returns the class it is called in.
http://www.php.net/manual/en/language.constants.predefined.php#44214
We can use get_called_class() instead.
- blocks
-
MDL-40052 Replace add_to_log with an event trigger - course reports
-
- Closed
-