Update of 
/var/cvs/contributions/CMSContainer_Modules/community/src/java/com/finalist/cmsc/community/forms
In directory 
james.mmbase.org:/tmp/cvs-serv23028/community/src/java/com/finalist/cmsc/community/forms

Modified Files:
        DeleteUserAction.java 
Log Message:
also delete person


See also: 
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Modules/community/src/java/com/finalist/cmsc/community/forms


Index: DeleteUserAction.java
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer_Modules/community/src/java/com/finalist/cmsc/community/forms/DeleteUserAction.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- DeleteUserAction.java       30 Jan 2008 13:37:59 -0000      1.1
+++ DeleteUserAction.java       31 Jan 2008 12:58:11 -0000      1.2
@@ -17,9 +17,10 @@
        @Override
        public ActionForward execute(ActionMapping mapping, ActionForm 
actionForm, HttpServletRequest request,
                        HttpServletResponse httpServletResponse) throws 
Exception {
-               String userid = request.getParameter("userid");
-               if (userid != null) {
-                       getAuthenticationService().deleteAuthentication(userid);
+               String userId = request.getParameter("userid");
+               if (userId != null) {
+                       getPersonService().deletePersonByUserId(userId);
+                       getAuthenticationService().deleteAuthentication(userId);
                }
                return mapping.findForward("success");
        }
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to