Allow verification of deleted users (#159)

This commit is contained in:
Mark Nelson 2018-12-18 11:25:25 +08:00
parent 1d27bece75
commit 83f3fce127

View file

@ -116,8 +116,6 @@ if ($form->get_data()) {
$params = ['code' => $code, 'customcertid' => $customcert->id];
}
$sql .= " AND u.deleted = 0";
// It is possible (though unlikely) that there is the same code for issued certificates.
if ($issues = $DB->get_records_sql($sql, $params)) {
$result->success = true;