X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=scripts%2Flogout.ml;h=0ec195212c8b8f68494866092017b37afd4e7e8e;hb=cd059731a60fd3d4dcf426430ad26ff227b91910;hp=7544a576ab8bc37b23231b8de265e09b5522d4d9;hpb=c912392e889fc28c6444b7e38cd92b9d0fd960a8;p=cocanwiki.git diff --git a/scripts/logout.ml b/scripts/logout.ml index 7544a57..0ec1952 100644 --- a/scripts/logout.ml +++ b/scripts/logout.ml @@ -1,7 +1,7 @@ (* COCANWIKI - a wiki written in Objective CAML. * Written by Richard W.M. Jones . * Copyright (C) 2004 Merjis Ltd. - * $Id: logout.ml,v 1.8 2006/03/28 13:20:00 rich Exp $ + * $Id: logout.ml,v 1.9 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 @@ -37,7 +37,7 @@ let run r (q : cgi) dbh hostid _ user = (match user with Anonymous -> () | User (userid, _, _, _) -> - PGSQL(dbh) "delete from usercookies where userid = $userid" in + PGSQL(dbh) "delete from usercookies where userid = $userid"; PGOCaml.commit dbh );