Index: nodehierarchy.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/nodehierarchy/nodehierarchy.module,v
retrieving revision 1.4.2.14
diff -u -p -r1.4.2.14 nodehierarchy.module
--- nodehierarchy.module	15 Feb 2009 05:58:02 -0000	1.4.2.14
+++ nodehierarchy.module	17 Feb 2009 09:26:17 -0000
@@ -237,7 +237,7 @@ function nodehierarchy_form_alter(&$form
         $form['nodehierarchy_delete_children'] = array(
           '#type'         => 'checkbox',
           '#title'        => t('Delete children'),
-          '#description'  => format_plural( $count, 'This node has @count child. Check this box to delete it as well.', 'This node has @count children. Check this box to delete them as well.' )
+          '#description'  => format_plural( $count, 'This node has @count child. Check this box to delete it as well. This will also delete all child children.', 'This node has @count children. Check this box to delete them as well. This will also delete all children children.' )
         );
         array_unshift($form['#submit'], 'nodehierarchy_node_delete_submit');
         $form['actions']['#weight'] = 1;
@@ -478,6 +478,9 @@ function nodehierarchy_node_delete_submi
 function nodehierarchy_delete_children($nid) {
   if ($nid) {
     foreach (nodehierarchy_get_children($nid) as $child) {
+      if (_nodehierarchy_get_children_count($child)) {
+        nodehierarchy_delete_children($child);
+      }
       node_delete($child);
     }
   }
