* New server command WIKI for subcommands relating to wiki page management
authorArt Cancro <ajc@citadel.org>
Tue, 20 Oct 2009 21:48:55 +0000 (21:48 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 20 Oct 2009 21:48:55 +0000 (21:48 +0000)
citadel/modules/wiki/serv_wiki.c

index 9a8b7caab7b50a2506e0eeed8ac6ac676ecf5765..1e6a917a6e7d56442abb8ee9619e70d98b747e7d 100644 (file)
@@ -291,6 +291,16 @@ int wiki_upload_beforesave(struct CtdlMessage *msg) {
 }
 
 
+
+/*
+ * commands related to wiki management
+ */
+void cmd_wiki(char *argbuf) {
+       cprintf("%d FIXME not finished\n", ERROR);
+}
+
+
+
 /*
  * Module initialization
  */
@@ -299,6 +309,7 @@ CTDL_MODULE_INIT(wiki)
        if (!threading)
        {
                CtdlRegisterMessageHook(wiki_upload_beforesave, EVT_BEFORESAVE);
+               CtdlRegisterProtoHook(cmd_wiki, "WIKI", "Commands related to Wiki management");
        }
 
        /* return our Subversion id for the Log */