Allow verification of deleted users (#159)
This commit is contained in:
parent
1d27bece75
commit
83f3fce127
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue