moodle-mod_htmlcert/classes
mwithheld a5eea57644 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.
2019-12-16 15:55:42 +01: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-26 11:34:51 +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) 2019-12-16 15:55:42 +01: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 Use repeat form element for date ranges (#185) 2019-05-25 15:01:26 +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 Use repeat form element for date ranges (#185) 2019-05-25 15:01:26 +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-04-16 19:22:57 +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