diff artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultUserFactory.java @ 153:bf596b83d984

Adjusted method signatures for deleting users in the UserFactory and in the Backend. artifacts/trunk@1378 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 03 Mar 2011 08:51:02 +0000
parents 19267b9960c3
children 1a72f08ce8d7
line wrap: on
line diff
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultUserFactory.java	Thu Mar 03 08:07:28 2011 +0000
+++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultUserFactory.java	Thu Mar 03 08:51:02 2011 +0000
@@ -67,10 +67,10 @@
      * @param user The user to be deleted.
      * @param context The CallContext.
      */
-    public void deleteUser(User user, Object context) {
-        logger.debug("DefaultUserFactory.deleteUser: " + user.identifier());
+    public void deleteUser(String identifier, Object context) {
+        logger.debug("DefaultUserFactory.deleteUser: " + identifier);
 
-        Backend.getInstance().deleteUser(user);
+        Backend.getInstance().deleteUser(identifier);
     }
 
 

http://dive4elements.wald.intevation.org