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:
committed by
Mark Nelson
parent
0bfafc5ba0
commit
0817451470
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user