<%@ page import="org.crosswire.xml.XMLRepo" %> <%@ page import="org.crosswire.xml.XMLObject" %> <%@ page import="org.crosswire.community.data.User" %> <% User user = (User)session.getAttribute("user"); if (user == null) return; String id = request.getParameter("id"); if (id == null) return; XMLRepo repo = XMLRepo.instance(pageContext); User surrogate = (User)repo.get(new User(user.getID(), id)); if (user != null) { repo.remove(surrogate); } %>