diff -up modules/forum/forumNEW.admin.inc modules/forum/forum.admin.inc --- modules/forum/forumNEW.admin.inc 2010-04-26 23:16:55.000000000 -0500 +++ modules/forum/forum.admin.inc 2009-05-26 03:13:00.000000000 -0500 @@ -188,16 +188,6 @@ function forum_admin_settings() { $form = array(); $number = drupal_map_assoc(array(5, 10, 15, 20, 25, 30, 35, 40, 50, 60, 80, 100, 150, 200, 250, 300, 350, 400, 500)); - /** - * TCY - Limit the number of forums displayed - * see aprox line 500 in forum.module - **/ - $form['forum_limit_display_depth'] = array('#type' => 'checkbox', - '#title' => t('Only show one level of nested forums'), - '#default_value' => variable_get('forum_limit_display_depth', 0), - '#description' => t('If unchecked, all forums will be displayed. Note: If you have more than 100 forums, Drupal may have trouble displaying them all. (changing the allowed memory in php.ini will increase the number of forums you can view without problems. Though the more forums you have the slower it gets.)'), - ); - $form['forum_hot_topic'] = array('#type' => 'select', '#title' => t('Hot topic threshold'), '#default_value' => variable_get('forum_hot_topic', 15), diff -up modules/forum/forumNEW.module modules/forum/forum.module --- modules/forum/forumNEW.module 2010-04-26 22:48:33.000000000 -0500 +++ modules/forum/forum.module 2010-03-01 05:32:00.000000000 -0600 @@ -492,15 +492,7 @@ $forums = array(); $vid = variable_get('forum_nav_vocabulary', ''); - /** - * TCY - This is where we add the forum to the forums list. - * If we want to limit the number of forums, here is where we do it - */ - if (variable_get('forum_limit_display_depth',0)== 0) { - $_forums = taxonomy_get_tree($vid, $tid); - } else { - $_forums = taxonomy_get_tree($vid, $tid,-1,1); - } + $_forums = taxonomy_get_tree($vid, $tid); if (count($_forums)) {