Allow verification of deleted users (#159)

This commit is contained in:
Mark Nelson 2018-12-18 11:25:25 +08:00
parent b3be9d558a
commit 6ddb6f4818

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;