MDL-26408 enrol_imsenterprise: fix invalid component
[moodle.git] / enrol / imsenterprise / lib.php
index f9ac4ca..acb8b05 100644 (file)
@@ -234,7 +234,7 @@ function cron() {
 
         $eventdata = new stdClass();
         $eventdata->modulename        = 'moodle';
-        $eventdata->component         = 'imsenterprise';
+        $eventdata->component         = 'enrol_imsenterprise';
         $eventdata->name              = 'imsenterprise_enrolment';
         $eventdata->userfrom          = get_admin();
         $eventdata->userto            = get_admin();