(* COCANWIKI - a wiki written in Objective CAML.
* Written by Richard W.M. Jones <rich@merjis.com>.
* Copyright (C) 2004 Merjis Ltd.
- * $Id: mail_rebuild.ml,v 1.3 2006/03/27 18:09:46 rich Exp $
+ * $Id: mail_rebuild.ml,v 1.4 2006/03/28 16:24:07 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
open Cocanwiki_mail
let run r (q : cgi) dbh hostid _ user =
- let year = Int32.of_string (q#param "year") in
- let month = Int32.of_string (q#param "month") in
+ let year = int_of_string (q#param "year") in
+ let month = int_of_string (q#param "month") in
thread_mail dbh hostid ~user ~r year month;