Author: cschneider Date: Wed Jan 30 18:02:22 2013 New Revision: 1440563 URL: http://svn.apache.org/viewvc?rev=1440563&view=rev Log: SYNCOPE-231 Bugfix for delete
Modified: syncope/trunk/core/src/main/java/org/apache/syncope/core/services/UserRequestServiceImpl.java Modified: syncope/trunk/core/src/main/java/org/apache/syncope/core/services/UserRequestServiceImpl.java URL: http://svn.apache.org/viewvc/syncope/trunk/core/src/main/java/org/apache/syncope/core/services/UserRequestServiceImpl.java?rev=1440563&r1=1440562&r2=1440563&view=diff ============================================================================== --- syncope/trunk/core/src/main/java/org/apache/syncope/core/services/UserRequestServiceImpl.java (original) +++ syncope/trunk/core/src/main/java/org/apache/syncope/core/services/UserRequestServiceImpl.java Wed Jan 30 18:02:22 2013 @@ -59,7 +59,7 @@ public class UserRequestServiceImpl impl } else if (userRequestTO.getType() == UserRequestType.UPDATE) { outUserRequestTO = userRequestController.update(userRequestTO.getUserMod()); } else if (userRequestTO.getType() == UserRequestType.DELETE) { - userRequestController.delete(userRequestTO.getUserId()); + outUserRequestTO = userRequestController.delete(userRequestTO.getUserId()); } URI location = uriInfo.getAbsolutePathBuilder().path("" + outUserRequestTO.getId()).build(); return Response.created(location)