Allow portfolio plugins to register event handlers - MDL-16392

This commit is contained in:
poltawski 2008-09-08 21:51:54 +00:00
parent 527af45775
commit 2a389207d1

View File

@ -49,7 +49,8 @@ function events_load_def($component) {
} else if ($compparts[0] == 'gradereport') {
$defpath = $CFG->dirroot.'/grade/report/'.$compparts[1].'/db/events.php';
} else if ($compparts[0] == 'portfolio'){
$defpath = $CFG->dirroot.'/portfolio/type/'.$compparts[1].'/db/events.php';
} else {
$defpath = $CFG->dirroot.'/'.$component.'/db/events.php';
}