X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fedit_host_settings.ml;h=e51f320db545b711b3f548db7fd6ee1221887f14;hb=6b0b6830a2e784eee99dcd1b1a3cb8b44e27c765;hp=d743865370dd49b742111d188c8255daf2791ea1;hpb=3da6ded17ea2cca64328e5f3ea8903cd15103bc2;p=cocanwiki.git diff --git a/scripts/edit_host_settings.ml b/scripts/edit_host_settings.ml index d743865..e51f320 100644 --- a/scripts/edit_host_settings.ml +++ b/scripts/edit_host_settings.ml @@ -1,7 +1,7 @@ (* COCANWIKI - a wiki written in Objective CAML. * Written by Richard W.M. Jones . * Copyright (C) 2004 Merjis Ltd. - * $Id: edit_host_settings.ml,v 1.1 2004/09/22 12:04:28 rich Exp $ + * $Id: edit_host_settings.ml,v 1.2 2004/09/23 11:56:47 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 @@ -32,7 +32,7 @@ let run r (q : cgi) (dbh : Dbi.connection) hostid { hostname = hostname } _ = if q#param_true "cancel" then ( (* Request cancelled. *) q#redirect ("http://" ^ hostname ^ "/_bin/host_menu.cmo"); - raise CgiExit + return () ); (* Get parameters. *)