Allow verification of deleted users (#159)

This commit is contained in:
Mark Nelson 2018-12-18 11:25:25 +08:00
parent 5182ab60e2
commit 2bfb6b53e0

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;