Split the 'page' template into two halves to enable pipelining. The
[cocanwiki.git] / scripts / lib / cocanwiki_pages.ml
index 2530688..f6abd61 100644 (file)
@@ -1,7 +1,7 @@
 (* COCANWIKI - a wiki written in Objective CAML.
  * Written by Richard W.M. Jones <rich@merjis.com>.
  * Copyright (C) 2004 Merjis Ltd.
- * $Id: cocanwiki_pages.ml,v 1.1 2004/10/21 11:42:05 rich Exp $
+ * $Id: cocanwiki_pages.ml,v 1.2 2004/10/30 10:16:10 rich Exp $
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -117,7 +117,7 @@ let save_page (dbh : Dbi.connection) hostid ?user ?r model =
        None -> `Null
       | Some user ->
          match user with
-           | User (id, _, _) -> `Int id
+           | User (id, _, _, _) -> `Int id
            | _ -> `Null in
 
   let logged_ip =