MDL-46455 mod_*: added restore mapping to events

This commit is contained in:
Mark Nelson
2015-10-11 18:14:57 -07:00
parent ef15eae433
commit 0bfafc5ba0
170 changed files with 1364 additions and 19 deletions
@@ -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');
}
}