]> code.citadel.org Git - citadel.git/blobdiff - webcit/preferences.c
* Removed the RSS output code (which was still in TECH_PREVIEW anyway). There's...
[citadel.git] / webcit / preferences.c
index ac4fb3c483b4099e547591fe2f00c62059aa6954..c46d0ad1ca15f343ec5b2d75f716f5ed3b44dc71 100644 (file)
@@ -247,23 +247,24 @@ void load_preferences(void)
        FreeStrBuf(&ReadBuf);
 }
 
-/**
- * \brief Goto the user's configuration room, creating it if necessary.
- * \return 0 on success or nonzero upon failure.
+/*
+ * Goto the user's configuration room, creating it if necessary.
+ * returns 0 on success or nonzero upon failure.
  */
 int goto_config_room(StrBuf *Buf) 
 {
        serv_printf("GOTO %s", USERCONFIGROOM);
        StrBuf_ServGetln(Buf);
-       if (GetServerStatus(Buf, NULL) != 2) { /* try to create the config room if not there */
+       if (GetServerStatus(Buf, NULL) != 2) {  /* try to create the config room if not there */
                serv_printf("CRE8 1|%s|4|0", USERCONFIGROOM);
                StrBuf_ServGetln(Buf);
                GetServerStatus(Buf, NULL);
 
                serv_printf("GOTO %s", USERCONFIGROOM);
                StrBuf_ServGetln(Buf);
-               if (GetServerStatus(Buf, NULL) != 2) 
+               if (GetServerStatus(Buf, NULL) != 2) {
                        return(1);
+               }
        }
        return(0);
 }
@@ -916,13 +917,6 @@ void offer_start_page(StrBuf *Target, WCTemplputParams *TP)
        wprintf("\">");
        wprintf(_("Make this my start page"));
        wprintf("</a>");
-#ifdef TECH_PREVIEW
-       wprintf("<br/><a href=\"rss?room=");
-       urlescputs(ChrPtr(WC->wc_roomname));
-       wprintf("\" title=\"RSS 2.0 feed for ");
-       escputs(ChrPtr(WC->wc_roomname));
-       wprintf("\"><img alt=\"RSS\" border=\"0\" src=\"static/xml_button.gif\" width=\"36\" height=\"14\" /></a>\n");
-#endif
 }