ezsystems/ezpublish — pull request #363 by julfabre (2012-07-05 07:29:54+00:00)
Title: add option for remove only child in removeSubTrees

The patch introduces a new option to eZContentObjectTreeNode::removeSubtrees.

This option lets you delete only children of node array passed to the function.

I also added an option to the ezsubtreeremove 'only-child-remove'.

It can be useful when you have a lot of nodes to delete in a Folder after an import has failed.