mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
MDL-24962 backup - now destroying circular refs manually to help PHP 5.2
This commit is contained in:
parent
1cf2faab39
commit
d0ad98607d
3 changed files with 34 additions and 0 deletions
|
@ -96,6 +96,9 @@ abstract class backup_structure_step extends backup_step {
|
|||
|
||||
// Close everything
|
||||
$xw->stop();
|
||||
|
||||
// Destroy the structure. It helps PHP 5.2 memory a lot!
|
||||
$structure->destroy();
|
||||
}
|
||||
|
||||
// Protected API starts here
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue