diff --git a/lib/eventslib.php b/lib/eventslib.php index 6b00dbea9bb..2a598d0edaa 100755 --- a/lib/eventslib.php +++ b/lib/eventslib.php @@ -37,7 +37,6 @@ function events_load_def($component) { $defpath = $CFG->dirroot.'/'.$component.'/db/events.php'; } } - $events = array(); if (file_exists($defpath)) { require($defpath);