mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
MDL-57486 tool_recyclebin: Close the files recordset properly
This commit is contained in:
parent
f77bb2834c
commit
95c2e43008
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue