(* COCANWIKI - a wiki written in Objective CAML.
* Written by Richard W.M. Jones <rich@merjis.com>.
* Copyright (C) 2004 Merjis Ltd.
- * $Id: email_change.ml,v 1.4 2006/03/27 19:10:29 rich Exp $
+ * $Id: email_change.ml,v 1.5 2006/12/06 09:46:57 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
| [ row ] -> row
| [] ->
error ~title:"Already verified"
- dbh hostid q
+ r dbh hostid q
("It looks like you have already verified this email address.");
return ()
| _ -> assert false in
PGOCaml.commit dbh;
ok ~title:"Email address verified"
- dbh hostid q "Thank you for verifying your new email address."
+ r dbh hostid q "Thank you for verifying your new email address."
let () =
register_script run