Remove most of the hooks
[apps/madmutt.git] / init.c
diff --git a/init.c b/init.c
index 323d5ac..9b9346e 100644 (file)
--- a/init.c
+++ b/init.c
@@ -1767,13 +1767,3 @@ void mutt_init (int skip_sys_rc, string_list_t * commands)
   }
 }
 
-int mutt_get_hook_type (const char *name)
-{
-  struct command_t *c;
-
-  for (c = Commands; c->name; c++)
-    if (c->func == mutt_parse_hook && ascii_strcasecmp (c->name, name) == 0)
-      return c->data;
-  return 0;
-}
-