From be4d44bb57f1075cc27d6e10f8575041fe81a24f Mon Sep 17 00:00:00 2001 From: mar Date: Mon, 6 Apr 1992 17:24:02 +0000 Subject: [PATCH] punted "Show all lists" and "Show all groups" menu items ./ --- clients/moira/lists.c | 51 ------------------------------------------- clients/moira/menus.c | 6 +---- 2 files changed, 1 insertion(+), 56 deletions(-) diff --git a/clients/moira/lists.c b/clients/moira/lists.c index 69ae34a4..16b81dac 100644 --- a/clients/moira/lists.c +++ b/clients/moira/lists.c @@ -839,57 +839,6 @@ ListByAdministrator() return (DM_NORMAL); } -/* Function Name: ListAllGroups - * Description: This function lists all visable groups. - * Arguments: none. - * Returns: DM_NORMAL. - */ - -ListAllGroups() -{ - register int status; - static char * args[] = { - "TRUE", /* active */ - "DONTCARE", /* public */ - "FALSE", /* hidden */ - "DONTCARE", /* maillist */ - "TRUE", /* group. */ - }; - - if (YesNoQuestion("This query will take a while, Do you wish to continue?", - TRUE) == TRUE ) - if (status = do_mr_query("qualified_get_lists", 5, args, - Print, (char *) NULL) != 0) - com_err(program_name, status, " in ListAllGroups"); - return (DM_NORMAL); -} - -/* Function Name: ListAllMailLists - * Description: This function lists all visable maillists. - * Arguments: none - * Returns: DM_NORMAL. - */ - -ListAllMailLists() -{ - register int status; - static char * args[] = { - "TRUE", /* active */ - "DONTCARE", /* public */ - "FALSE", /* hidden */ - "TRUE", /* maillist */ - "DONTCARE", /* group. */ - }; - - if (YesNoQuestion("This query will take a while. Do you wish to continue?", - TRUE) == TRUE ) - if (status = do_mr_query("qualified_get_lists", 5, args, - Print, (char *) NULL) != 0) - com_err(program_name, status, " in ListAllGroups"); - - return (DM_NORMAL); -} - /* Function Name: ListAllPublicMailLists * Description: This function lists all public mailing lists. * Arguments: none diff --git a/clients/moira/menus.c b/clients/moira/menus.c index 9aae95ce..f04e9ccb 100644 --- a/clients/moira/menus.c +++ b/clients/moira/menus.c @@ -68,7 +68,7 @@ Menu list_info_menu = { NULLFUNC, NULLFUNC, "List Information Menu", - 5, + 3, { SIMPLEFUNC("member", "Show all lists to which a given member belongs", @@ -76,12 +76,8 @@ Menu list_info_menu = { SIMPLEFUNC("admin", "Show all items which a given member can administer", ListByAdministrator), - SIMPLEFUNC("groups", "Show all lists which are groups", - ListAllGroups), SIMPLEFUNC("public", "Show all public mailing lists", ListAllPublicMailLists), - SIMPLEFUNC("maillists", "Show all mailing lists", - ListAllMailLists) } }; -- 2.45.2