import org.exoplatform.services.log.ExoLogger;
import org.exoplatform.services.log.Log;</BUG>
import org.exoplatform.services.organization.Group;
import org.exoplatform.services.organization.GroupEventListener;
public class ForumGroupListener extends GroupEventListener {
<BUG>private static final Log log          = ExoLogger.getLogger(ForumGroupListener.class);
private ForumService     forumService = null;</BUG>
public ForumGroupListener() {
<BUG>}
private ForumService getForumService() {
if (forumService == null) {
forumService = (ForumService) ExoContainerContext.getCurrentContainer().getComponentInstanceOfType(ForumService.class);
}
return forumService;</BUG>
}

package org.exoplatform.forum.service.conf;
import org.exoplatform.commons.utils.CommonsUtils;
import org.exoplatform.forum.service.ForumService;
import org.exoplatform.forum.service.ForumServiceUtils;
import org.exoplatform.services.organization.Group;
import org.exoplatform.services.organization.GroupEventListener;
public class ForumGroupListener extends GroupEventListener {
public ForumGroupListener() {
}
public void postSave(Group group, boolean isNew) throws Exception{
ForumServiceUtils.clearCache();
}
