Fixed some bitrot and some unused variables.
[cocanwiki.git] / scripts / lib / cocanwiki_ext_calendar.ml
index 1d54ca7..bbd5506 100644 (file)
@@ -1,7 +1,7 @@
 (* COCANWIKI - a wiki written in Objective CAML.
  * Written by Richard W.M. Jones <rich@merjis.com>.
  * Copyright (C) 2004 Merjis Ltd.
- * $Id: cocanwiki_ext_calendar.ml,v 1.3 2006/03/27 16:43:44 rich Exp $
+ * $Id: cocanwiki_ext_calendar.ml,v 1.4 2006/07/26 13:12:11 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
@@ -248,7 +248,7 @@ let extension dbh hostid url =
 
        template#to_string
 
-    | Some ((yyyy, mm, dd) as date) -> (* Single day view. *)
+    | Some (yyyy, mm, dd) ->           (* Single day view. *)
        let template = day_template in
 
        (* XXX This will change once we start doing date and time events.