diff --git a/classes/local/step/trigger_event.php b/classes/local/step/trigger_event.php index 6c47161c..a312a48e 100644 --- a/classes/local/step/trigger_event.php +++ b/classes/local/step/trigger_event.php @@ -133,11 +133,13 @@ private function get_events_list() { $eventlist = \tool_monitor\eventlist::get_all_eventlist(); $pluginlist = \tool_monitor\eventlist::get_plugin_list($eventlist); $plugineventlist = []; - foreach ($pluginlist as $plugin => $pluginname) { - foreach ($eventlist[$plugin] as $event => $eventname) { - // Filter out events which cannot be triggered for some reason. - if (!$event::is_deprecated()) { - $plugineventlist[$event] = "{$pluginname}: {$eventname}"; + foreach ($pluginlist as $plugintype => $plugins) { + foreach ($plugins as $plugin => $pluginname) { + foreach ($eventlist[$plugin] as $event => $eventname) { + // Filter out events which cannot be triggered for some reason. + if (!$event::is_deprecated()) { + $plugineventlist[$event] = "{$pluginname}: {$eventname}"; + } } } } diff --git a/version.php b/version.php index bedee946..c4a77d1b 100644 --- a/version.php +++ b/version.php @@ -25,10 +25,10 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2024101000; -$plugin->release = 2024101000; +$plugin->version = 2024102100; +$plugin->release = 2024102100; $plugin->requires = 2022112800; // Our lowest supported Moodle (3.3.0). -$plugin->supported = [400, 402]; +$plugin->supported = [400, 402, 403, 404, 405]; // TODO $plugin->incompatible = ; // Available as of Moodle 3.9.0 or later. $plugin->component = 'tool_dataflows'; $plugin->maturity = MATURITY_ALPHA;