Skip to content
Snippets Groups Projects
Commit ca9a506c authored by Andrew Downes's avatar Andrew Downes Committed by Ryan Smith
Browse files

refactor: Renames variable because statements were actually events. (#365)

parent 7a5f0796
No related branches found
No related tags found
No related merge requests found
......@@ -18,8 +18,8 @@ namespace src\loader;
defined('MOODLE_INTERNAL') || die();
function handler(array $config, array $statements) {
function handler(array $config, array $events) {
$loadername = $config['loader'];
$load = "\src\loader\\$loadername\load";
return $load($config, $statements);
return $load($config, $events);
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment