src/transformer/events/tool_certificate/certificate_verified.php
Showing 1 of 1 total issue
Method certificate_verified
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function certificate_verified(array $config, \stdClass $event) { $repo = $config['repo']; $user = $repo->read_record_by_id('user', $event->userid); $issue = $repo->read_record_by_id('tool_certificate_issues', $event->objectid); $course = (!is_null($issue->courseid))
- Create a ticketCreate a ticket