MDL-44321 events: cleaning up course_module_viewed event

This commit is contained in:
Marina Glancy
2014-02-28 16:36:09 +08:00
parent 76e4de31cc
commit fbc4b77841
19 changed files with 47 additions and 102 deletions
-1
View File
@@ -61,7 +61,6 @@ $completion->set_module_viewed($cm);
$eventdata = array();
$eventdata['objectid'] = $workshop->id;
$eventdata['context'] = $workshop->context;
$eventdata['courseid'] = $course->id;
$PAGE->set_url($workshop->view_url());
$event = \mod_workshop\event\course_module_viewed::create($eventdata);