diff --git a/pom.xml b/pom.xml
index b64aa85..7e01cb7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -12,7 +12,7 @@
org.gcube.portal.plugins
VREFolder-hook
VREFolder-hook Hook
- 6.7.0
+ 6.7.0-SNAPSHOT
war
VREFolder-hook handles the user adding/removal from the related Home Library VRE Folder
diff --git a/src/main/java/org/gcube/portal/plugins/GCubeHookUserLocalService.java b/src/main/java/org/gcube/portal/plugins/GCubeHookUserLocalService.java
index a65112c..137f9e0 100644
--- a/src/main/java/org/gcube/portal/plugins/GCubeHookUserLocalService.java
+++ b/src/main/java/org/gcube/portal/plugins/GCubeHookUserLocalService.java
@@ -14,7 +14,6 @@ import org.gcube.common.storagehub.client.proxies.GroupManagerClient;
import org.gcube.portal.oidc.lr62.OIDCUmaUtil;
import org.gcube.portal.plugins.thread.CheckShareLatexUserThread;
import org.gcube.portal.plugins.thread.RemoveUserTokenFromVREThread;
-import org.gcube.portal.plugins.thread.UpdateUserToLDAPGroupThread;
import org.gcube.vomanagement.usermanagement.GroupManager;
import org.gcube.vomanagement.usermanagement.RoleManager;
import org.gcube.vomanagement.usermanagement.UserManager;
@@ -135,9 +134,6 @@ public class GCubeHookUserLocalService extends UserLocalServiceWrapper {
String scope = gm.getInfrastructureScope(groupId);
org.gcube.vomanagement.usermanagement.UserManager um = new LiferayUserManager();
String username = um.getUserById(userId).getUsername();
- //add the user to LDAP Group
- Thread tLdap = new Thread(new UpdateUserToLDAPGroupThread(username, scope, groupId, false));
- tLdap.start();
//add the user to shareLatex
Thread t = new Thread(new CheckShareLatexUserThread(username, scope));
t.start();
@@ -228,9 +224,6 @@ public class GCubeHookUserLocalService extends UserLocalServiceWrapper {
String scope = gm.getInfrastructureScope(groupId);
org.gcube.vomanagement.usermanagement.UserManager um = new LiferayUserManager();
String username = um.getUserById(userId).getUsername();
- //remove the user to LDAP Group
- Thread tLdap = new Thread(new UpdateUserToLDAPGroupThread(username, scope, groupId, true));
- tLdap.start();
setUser2VREFolder(gm, um, username, scope, false);
Thread tToken = new Thread(new RemoveUserTokenFromVREThread(username, scope));
tToken.start();