From e2738a56bffd4fe61fc1f2c9026e635f694a04f3 Mon Sep 17 00:00:00 2001 From: rich Date: Wed, 9 Aug 2006 15:35:22 +0000 Subject: [PATCH] Fixed this template to use new-style database API. --- scripts/00-TEMPLATE.ml. | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/00-TEMPLATE.ml. b/scripts/00-TEMPLATE.ml. index 3047aeb..b02bd67 100644 --- a/scripts/00-TEMPLATE.ml. +++ b/scripts/00-TEMPLATE.ml. @@ -1,7 +1,7 @@ (* COCANWIKI - a wiki written in Objective CAML. * Written by Richard W.M. Jones . * 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 -- 1.8.3.1