*************** *** 54,79 **** 'administer vocabulary index', 'view vocabulary index pages', ); - } - - /** - * Implementation of hook_init(). - */ - function vocabindex_init() { - if (vocabindex_update_status() == FALSE) { - $path = base_path() . 'update.php'; - drupal_set_message(t("Please proceed to !update.php to update your database to Vocabulary Index 2.", array('!update.php' => 'update.php')), 'error'); - } } /** * Implementation of hook_menu(). */ function vocabindex_menu() { - if (vocabindex_update_status() == FALSE) { - return array(); - } - $items[_vocabindex_menu_paths('admin_main')] = array( 'title' => 'Vocabulary Index', 'description' => 'Create index pages for vocabularies.', --- 54,65 ---- 'administer vocabulary index', 'view vocabulary index pages', ); } /** * Implementation of hook_menu(). */ function vocabindex_menu() { $items[_vocabindex_menu_paths('admin_main')] = array( 'title' => 'Vocabulary Index', 'description' => 'Create index pages for vocabularies.',