MDL-46455 mod_*: added restore mapping to events
This commit is contained in:
@@ -44,4 +44,8 @@ class course_module_viewed extends \core\event\course_module_viewed {
|
||||
$this->data['edulevel'] = self::LEVEL_PARTICIPATING;
|
||||
$this->data['objecttable'] = 'folder';
|
||||
}
|
||||
|
||||
public static function get_objectid_mapping() {
|
||||
return array('db' => 'folder', 'restore' => 'folder');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user