mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 08:22:07 +02:00
removing extra code
This commit is contained in:
parent
e8565225c9
commit
8df8bbfbd0
@ -37,7 +37,6 @@ function events_load_def($component) {
|
||||
$defpath = $CFG->dirroot.'/'.$component.'/db/events.php';
|
||||
}
|
||||
}
|
||||
$events = array();
|
||||
|
||||
if (file_exists($defpath)) {
|
||||
require($defpath);
|
||||
|
Loading…
x
Reference in New Issue
Block a user