mirror of
https://github.com/moodle/moodle.git
synced 2025-03-18 14:40:06 +01:00
MDL-15560 Install fails again (missing global $DB)
This commit is contained in:
parent
e7ef42f531
commit
a2d51ba880
@ -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') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user