(* COCANWIKI - a wiki written in Objective CAML.
* Written by Richard W.M. Jones <rich@merjis.com>.
* Copyright (C) 2004 Merjis Ltd.
- * $Id: edit_user.ml,v 1.8 2004/10/23 15:00:14 rich Exp $
+ * $Id: edit_user.ml,v 1.9 2004/10/30 10:16:10 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
(* Trying to remove manage users permission from self? *)
(match can_manage_users, self with
- | false, User (id, _, _) when id = userid ->
+ | false, User (id, _, _, _) when id = userid ->
error ~back_button:true ~title:"Remove manage users from self"
q ("You tried to remove 'Manage users' permission from yourself. "^
"You can't do this. You'll have to do it from another "^