]> andersk Git - moira.git/commitdiff
punted "Show all lists" and "Show all groups" menu items
authormar <mar>
Mon, 6 Apr 1992 17:24:02 +0000 (17:24 +0000)
committermar <mar>
Mon, 6 Apr 1992 17:24:02 +0000 (17:24 +0000)
./

clients/moira/lists.c
clients/moira/menus.c

index 69ae34a463075fe8b63dfd4c2f7d14ac35973e68..16b81dacae42d1faf5ee057eff7a165e7765920b 100644 (file)
@@ -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
index 9aae95ceef3b8c877d5019811a0f0d70dd21a759..f04e9ccb9dd27c69564e7515ffd58ef0a9b026e1 100644 (file)
@@ -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)
     }
 };
 
This page took 0.042695 seconds and 5 git commands to generate.