(* COCANWIKI - a wiki written in Objective CAML.
* Written by Richard W.M. Jones <rich@merjis.com>.
* Copyright (C) 2004 Merjis Ltd.
- * $Id: rename_page.ml,v 1.8 2006/08/04 12:45:31 rich Exp $
+ * $Id: rename_page.ml,v 1.9 2006/08/14 11:36:50 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
let new_model = { new_model with
description = old_model.description;
keywords = old_model.keywords;
+ noodp = old_model.noodp;
contents_ = old_model.contents_ } in
let old_model = { old_model with redirect = Some new_page } in
ignore (save_page r dbh hostid ~user old_model);