Allow verification of deleted users (#159)
This commit is contained in:
parent
b3be9d558a
commit
6ddb6f4818
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