diff --git a/cronjobs/hide.php b/cronjobs/hide.php index b4f71be915f..2cd85d28baf 100644 --- a/cronjobs/hide.php +++ b/cronjobs/hide.php @@ -49,6 +49,9 @@ { $cli->output( 'Hiding node: "' . $node->attribute( 'name' ) . '" (' . $node->attribute( 'node_id' ) . ')' ); eZContentObjectTreeNode::hideSubTree( $node ); + + //call appropriate method from search engine + eZSearch::updateNodeVisibility( $node->attribute( 'node_id' ), 'hide' ); } // clear memory after every batch eZContentObject::clearCache();