X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=scripts%2Fedit_host_settings.ml;h=27971ed1c6c7424204aaa4c9cb3c00363d329ff4;hb=d2de471ff7e79c1d6096bd8132aad80258852cdd;hp=ce564636aa5dc8566d1c0cef0b05169d992c6d4e;hpb=ed0756f32c50d84f36f25590aefb6168762545ed;p=cocanwiki.git diff --git a/scripts/edit_host_settings.ml b/scripts/edit_host_settings.ml index ce56463..27971ed 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.13 2006/08/14 11:36:50 rich Exp $ + * $Id: edit_host_settings.ml,v 1.14 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 @@ -81,7 +81,7 @@ let run r (q : cgi) dbh hostid { hostname = hostname } _ = (* Finish off. *) ok ~title:"Global settings updated" ~buttons:[ok_button "/_bin/host_menu.cmo"] - dbh hostid q "The global settings were updated." + r dbh hostid q "The global settings were updated." let () = register_script ~restrict:[CanManageSite] run