X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=scripts%2Frestore_form.ml;h=4e9552af86b3e56e22c2998562a25b00014a2053;hb=c5f822d1ca81042a8c0be2955668b0abebf1b11c;hp=8e18f45036bce336d2010dc33a3eabdf23d77be1;hpb=6b0b6830a2e784eee99dcd1b1a3cb8b44e27c765;p=cocanwiki.git diff --git a/scripts/restore_form.ml b/scripts/restore_form.ml index 8e18f45..4e9552a 100644 --- a/scripts/restore_form.ml +++ b/scripts/restore_form.ml @@ -1,7 +1,7 @@ (* COCANWIKI - a wiki written in Objective CAML. * Written by Richard W.M. Jones . * Copyright (C) 2004 Merjis Ltd. - * $Id: restore_form.ml,v 1.8 2004/09/23 11:56:47 rich Exp $ + * $Id: restore_form.ml,v 1.9 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 @@ -29,7 +29,7 @@ open Cocanwiki_template open Cocanwiki_ok open Cocanwiki_diff -let run r (q : cgi) (dbh : Dbi.connection) hostid _ _ = +let run r (q : cgi) (dbh : Dbi.connection) hostid _ user = let template = get_template dbh hostid "restore_form.html" in (* Parameters. *) @@ -54,7 +54,7 @@ let run r (q : cgi) (dbh : Dbi.connection) hostid _ _ = return () ); - let diff, _ = get_diff dbh hostid page ~old_version ~version () in + let diff, _ = get_diff dbh hostid ~user page ~old_version ~version () in (* Display the diff. *) template#set "diff" diff;