MDL-15560 Install fails again (missing global $DB)

This commit is contained in:
sam_marshall 2008-07-07 12:33:45 +00:00
parent e7ef42f531
commit a2d51ba880

View File

@ -333,6 +333,7 @@ function events_dequeue($qhandler) {
* INTERNAL - to be used from eventslib only
*/
function events_get_handlers($eventname) {
global $DB;
static $handlers = array();
if ($eventname == 'reset') {