Index: modules/htmltidy/htmltidy.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/htmltidy/htmltidy.module,v
retrieving revision 1.16
diff -u -F^function -r1.16 htmltidy.module
--- modules/htmltidy/htmltidy.module	2 Apr 2004 08:14:57 -0000	1.16
+++ modules/htmltidy/htmltidy.module	19 Jun 2004 14:59:07 -0000
@@ -197,21 +197,18 @@ function htmltidy_perm() {
   return array("use htmltidy on output", "use htmltidy debug mode", "administer htmltidy");
 }
 
-
-
 /**
- * Drupal hook that returns an array of links valid for the specified type.
- *
- * @param $type The type of links requested.
- * @return An array of links for the specified type and node.
+ * Implementation of hook_menu().
  */
-function htmltidy_link($type) {
-  if ($type == "system" && user_access("administer htmltidy")) {
-    menu("admin/system/modules/htmltidy", "htmltidy", "htmltidy_settings");
-  }
-}
+function article_menu() {
+  $items = array();
 
+  $items[] = array('path' => 'admin/system/modules/htmltidy', 'title' => t('htmltidy'),
+    'access' => user_access('administer htmltidy'),
+    'callback' => 'htmltidy_settings');
 
+  return $items;
+}
 
 /**
  * Drupal hook that allows an administrator to view or modify module settings.
