MDL-46455 events: Add mapping info to events

This commit covers all events outside of /mod/. It adds mapping info for restoring
events, or the default implementation which returns false if mapping is not required.
This commit is contained in:
Damyon Wiese
2015-10-11 18:14:58 -07:00
committed by Mark Nelson
parent 0bfafc5ba0
commit 0817451470
107 changed files with 702 additions and 0 deletions
@@ -107,4 +107,9 @@ class course_module_completion_updated extends base {
throw new \coding_exception('The \'relateduserid\' must be set.');
}
}
public static function get_objectid_mapping() {
// Sorry mapping info is not available for course modules completion records.
return false;
}
}