(* COCANWIKI - a wiki written in Objective CAML.
* Written by Richard W.M. Jones <rich@merjis.com>.
* Copyright (C) 2004 Merjis Ltd.
- * $Id: undelete_file.ml,v 1.6 2004/09/09 12:21:22 rich Exp $
+ * $Id: undelete_file.ml,v 1.7 2005/11/24 14:54:13 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
(* Done. *)
let buttons = [ ok_button "/_files" ] in
ok ~title:"File restored" ~buttons
- q "File was restored successfully."
+ dbh hostid q "File was restored successfully."
) else
q#redirect ("http://" ^ hostname ^ "/_files")