moodle-mod_htmlcert/classes
mwithheld db81b49608 Do not fail if multiple certificate issues (#295)
Ignore multiple matches for a user-customcert combo in the customcert_issues table.
In our case, the scheduled task died when:
$issueid = $DB->get_field('customcert_issues', 'id', array('userid' => $enroluser->id, 'customcertid' => $customcert->id));
returned 2 rows, which shouldn't happen, but did anyway.

This means in rare circumstances (i.e. the race condition) the user may get multiple certificates (e.g. one via the UI, one by email) but that is better than not getting one at all and the whole job dying.
2020-04-01 15:11:33 +02:00
..
event #88 Make plugins DB codechecker happy 2017-02-25 11:38:30 +08:00
output Added plaintext lang variants for email bodies and updated template (#230) 2018-12-17 11:00:51 +08:00
plugininfo #213 Allow element plugins to have admin settings 2018-07-27 16:42:47 +08:00
privacy Added missing implementation for privacy provider (#260) 2018-12-27 07:42:32 +08:00
search #15 Added global search support 2016-08-25 15:13:41 +08:00
task Do not fail if multiple certificate issues (#295) 2020-04-01 15:11:33 +02:00
admin_setting_link.php #88 Make plugins DB codechecker happy 2017-02-25 11:38:30 +08:00
certificate.php Report now respects the setting 'Show user identity' (#224) 2018-12-18 09:43:43 +08:00
edit_element_form.php Created factory class 2017-08-26 13:35:43 +08:00
edit_form.php #154 Don't display 'Add page' link for unsaved templates 2018-07-12 16:13:34 +08:00
element.php Incorrect PHPDocs for render_form_elements and co (#271) 2019-05-28 14:35:30 +08:00
element_factory.php Added missing element 'pageid' value 2017-08-26 14:27:22 +08:00
element_helper.php Incorrect PHPDocs for render_form_elements and co (#271) 2019-05-28 14:35:30 +08:00
external.php #70 Added mobile app support 2018-06-06 22:58:47 +08:00
grade_information.php #98 Moved helper functions used by multiple elements 2017-09-12 21:54:38 +08:00
load_template_form.php #88 Make plugins DB codechecker happy 2017-02-25 11:38:30 +08:00
manage_templates_table.php #134 Add ability to duplicate templates 2017-09-03 22:14:37 +08:00
my_certificates_table.php #197 Respect filters in 'My certificates' and 'Verify certificate' pages 2018-06-12 16:43:51 +08:00
page_helper.php #88 Make plugins DB codechecker happy 2017-02-25 11:38:30 +08:00
report_table.php Report now respects the setting 'Show user identity' (#224) 2018-12-18 09:43:43 +08:00
template.php Fixed copyright year 2017-09-12 22:59:46 +08:00
upload_image_form.php #88 Make plugins DB codechecker happy 2017-02-25 11:38:30 +08:00
verify_certificate_form.php #88 Make plugins DB codechecker happy 2017-02-25 11:38:30 +08:00