From ab2663b63cfc104c3e99a6a110c0cf48c6b84a26 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Thu, 25 Jan 2018 11:29:09 -0500 Subject: [PATCH] Hide obsolete server functions from webcit UI --- webcit/static/t/aide/global_config.html | 2 -- webcit/wiki.c | 20 ++++++-------------- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/webcit/static/t/aide/global_config.html b/webcit/static/t/aide/global_config.html index e8019c769..8ff8ba45f 100644 --- a/webcit/static/t/aide/global_config.html +++ b/webcit/static/t/aide/global_config.html @@ -1,7 +1,5 @@ diff --git a/webcit/wiki.c b/webcit/wiki.c index 45dd313e6..b1822e951 100644 --- a/webcit/wiki.c +++ b/webcit/wiki.c @@ -1,7 +1,7 @@ /* * Functions pertaining to rooms with a wiki view * - * Copyright (c) 2009-2012 by the citadel.org team + * Copyright (c) 2009-2018 by the citadel.org team * * This program is open source software. You can redistribute it and/or * modify it under the terms of the GNU General Public License, version 3. @@ -126,19 +126,11 @@ void tmplput_display_wiki_history(StrBuf *Target, WCTemplputParams *TP) wc_printf("", ((row%2) ? "#FFFFFF" : "#DDDDDD")); wc_printf("%s", rev_date_displayed); - if (!strcasecmp(ChrPtr(node), (char *)WC->serv_info->serv_nodename)) { - escputs(ChrPtr(author)); - wc_printf(" @ "); - escputs(ChrPtr(node)); - } - else { - wc_printf(""); - escputs(ChrPtr(author)); - wc_printf(""); - } - wc_printf(""); + wc_printf(""); + escputs(ChrPtr(author)); + wc_printf(""); if (row == 0) { wc_printf("