Entering back into this solution confused me. I spent about 30 minutes looking for the trigger I knew I had created. I looked in the moodle DB first, in both mdl_user_enrolments and mdl_enrol tables. I am using moodle 2.6.11. I used the MYSQL show triggers command on the DB, but did not find the trigger in the DB.
Finally, I realized my mistake and looked at the other DB involved in our enrollment process, and found the trigger there. show triggers did the trick.
Moral of the story? This moodle instance has an external enrollment configuration and its own enrollments table where I created the trigger, on the insert record event.
No comments:
Post a Comment