MDL-84620 accessibility: close recordset when it's not needed anymore

Signed-off-by: Daniel Ziegenberg <[email protected]>
This commit is contained in:
Daniel Ziegenberg
2025-05-06 06:41:35 +02:00
parent f252b16672
commit 6bf326fb9f
@@ -402,6 +402,8 @@ class manager {
}
}
$rs->close();
if (count($batchinserts) > 0) {
$DB->insert_records(self::DB_PROCESS, $batchinserts);
}