Skip to content

Commit

Permalink
The event callback points to a non-existing path, causing issues with…
Browse files Browse the repository at this point in the history
… other events and throwing an error in the Moodle UI whenever a course module is viewed.
  • Loading branch information
sheogorath15 authored Mar 13, 2024
1 parent 7679357 commit e3dda95
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions db/events.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
defined('MOODLE_INTERNAL') || die();

$observers = [
[
'eventname' => '\core\event\course_module_viewed',
'callback' => '\plugintype_pluginname\event\observer\course_module_created::store',
'priority' => 1000,
],
// [
// 'eventname' => '\core\event\course_module_viewed',
// 'callback' => '\plugintype_pluginname\event\observer\course_module_created::store',
// 'priority' => 1000,
// ],
];

0 comments on commit e3dda95

Please sign in to comment.