MDL-57486 tool_recyclebin: Close the files recordset properly

This commit is contained in:
Jun Pataleta 2018-05-30 13:15:30 +08:00
parent f77bb2834c
commit 95c2e43008

View file

@ -305,7 +305,7 @@ class category_bin extends base_bin {
$file = $fs->get_file_instance($filer);
$file->delete();
}
$file->close();
$files->close();
}
// Delete the record.