Update of 
/var/cvs/contributions/CMSContainer_Portlets/portlets-login/src/java/com/finalist/cmsc/portlets
In directory 
james.mmbase.org:/tmp/cvs-serv28851/portlets-login/src/java/com/finalist/cmsc/portlets

Modified Files:
      Tag: b1_6
        UnregisterPortlet.java 
Log Message:
CMSC-1359 Newsletter: create a Community un-register portlet


See also: 
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Portlets/portlets-login/src/java/com/finalist/cmsc/portlets
See also: http://www.mmbase.org/jira/browse/CMSC-1359


Index: UnregisterPortlet.java
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer_Portlets/portlets-login/src/java/com/finalist/cmsc/portlets/UnregisterPortlet.java,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -b -r1.1.2.4 -r1.1.2.5
--- UnregisterPortlet.java      7 Apr 2009 11:59:58 -0000       1.1.2.4
+++ UnregisterPortlet.java      8 Apr 2009 01:28:46 -0000       1.1.2.5
@@ -59,12 +59,9 @@
       AuthenticationService authenticationService = (AuthenticationService) 
ApplicationContextFactory
       .getBean("authenticationService");
       PersonService personHibernateService = (PersonService) 
ApplicationContextFactory.getBean("personService");
-//      This following line should be fixed differently
-//      NewsletterSubscriptionServices subscriptionServices = 
(NewsletterSubscriptionServices) 
ApplicationContextFactory.getBean("subscriptionServices");
+
       if (authenticationService.authenticationExists(register_email)) {
         Long authId = 
authenticationService.getAuthenticationIdForUserId(register_email);
-        // personHibernateService.
-//        subscriptionServices.deleteSubscriptionsByAuthId(authId);
         personHibernateService.deletePersonByAuthenticationId(authId);
         authenticationService.deleteAuthentication(authId);
         CommunityManager.notify(authId);
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to