MINOR Destroy the child object in Folder::syncChildren() after destroying it's internal records and components (from r82790)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@89722 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2009-10-21 02:32:11 +00:00
parent 6b0a508502
commit d1af532bf4

View File

@ -117,6 +117,7 @@ class Folder extends File {
// Clean up the child record from memory after use. Important!
$child->destroy();
$child = null;
}
// Iterate through the unwanted children, removing them all