Fixed this template to use new-style database API.
authorrich <rich>
Wed, 9 Aug 2006 15:35:22 +0000 (15:35 +0000)
committerrich <rich>
Wed, 9 Aug 2006 15:35:22 +0000 (15:35 +0000)
scripts/00-TEMPLATE.ml.

index 3047aeb..b02bd67 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: 00-TEMPLATE.ml.,v 1.1 2004/10/21 11:42:04 rich Exp $
+ * $Id: 00-TEMPLATE.ml.,v 1.2 2006/08/09 15:35:22 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
@@ -27,7 +27,7 @@ open Printf
 open Cocanwiki
 open Cocanwiki_template
 
-let run r (q : cgi) (dbh : Dbi.connection) hostid _ _ =
+let run r (q : cgi) dbh hostid _ _ =
   let template = get_template dbh hostid "00-TEMPLATE.html" in