Index: contentblocker.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/contentblocker/contentblocker.module,v retrieving revision 1.12 diff -u -r1.12 contentblocker.module --- contentblocker.module 29 Aug 2007 22:44:02 -0000 1.12 +++ contentblocker.module 29 Aug 2007 23:03:06 -0000 @@ -1,12 +1,6 @@ 'drupal_get_form', 'callback arguments' => array('contentblocker_settings_form'), ); - } - else { $types = contentblocker_get_data(); if (!empty($types)) { $items[] = array( @@ -68,6 +61,7 @@ } } } + return $items; } @@ -202,6 +196,8 @@ } break; } + // Menus need to reflect the current state of the users' registered content blocks. + menu_rebuild(); } }