Mercurial Hosting > nabble
diff src/nabble/view/web/template/NabbleNamespace.java @ 47:72765b66e2c3
remove mailing list code
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 18 Jun 2021 17:44:24 -0600 |
parents | 5ea557eece1f |
children |
line wrap: on
line diff
--- a/src/nabble/view/web/template/NabbleNamespace.java Mon Jun 14 15:35:05 2021 -0600 +++ b/src/nabble/view/web/template/NabbleNamespace.java Fri Jun 18 17:44:24 2021 -0600 @@ -186,12 +186,6 @@ out.print( interp.encode( "/help/Index.jtp" ) ); } - public static final CommandSpec mailing_list_intro = CommandSpec.DO; - - @Command public void mailing_list_intro(IPrintWriter out,ScopedInterpreter<HelpNs> interp) { - print(out,interp,Help.mailingListIntro); - } - public static final CommandSpec search = CommandSpec.DO; @Command public void search(IPrintWriter out,ScopedInterpreter<HelpNs> interp) { @@ -221,12 +215,6 @@ @Command public void password(IPrintWriter out,ScopedInterpreter<HelpNs> interp) { print(out,interp,Help.password); } - - public static final CommandSpec userid = CommandSpec.DO; - - @Command public void userid(IPrintWriter out,ScopedInterpreter<HelpNs> interp) { - print(out,interp,Help.userid); - } } private static final HelpsNs helpsNs = new HelpsNs(); @@ -521,18 +509,6 @@ SubscriptionNamespace subscriptionNs = interp.getArgAsNamespace(SubscriptionNamespace.class,"subscription"); out.print( interp.getArg(subscriptionNs,"do") ); } -/* -not needed yet - public static final CommandSpec get_mailing_list = CommandSpec.DO() - .parameters("mailing_list") - .build() - ; - - @Command public void get_mailing_list(IPrintWriter out,ScopedInterpreter<MailingListNamespace> interp) { - MailingListNamespace ns = interp.getArgAsNamespace(MailingListNamespace.class,"mailing_list"); - out.print( interp.getArg(ns,"do") ); - } -*/ @Command public void anyone_group(IPrintWriter out,Interpreter interp) {