How do you change the core forum module to only show a certain depth?
If you want to change list of forums using hook try hook_preprocess_HOOK something like like 

function MYMODULE_preprocess_forum_list(&amp;$variables) { 
// dump here forums and search for the forum you want to remove and unset it . 
 dpm($variables['forums']); 
}