diff --git a/pom.xml b/pom.xml
index 8f1edd1..d0d19d8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -38,7 +38,7 @@
eu.dnetlib
uoa-admin-tools-library
- 1.0.7
+ 1.0.8
diff --git a/src/main/java/eu/dnetlib/uoaadmintools/controllers/CommunityController.java b/src/main/java/eu/dnetlib/uoaadmintools/controllers/CommunityController.java
index 115d580..52696b0 100644
--- a/src/main/java/eu/dnetlib/uoaadmintools/controllers/CommunityController.java
+++ b/src/main/java/eu/dnetlib/uoaadmintools/controllers/CommunityController.java
@@ -102,8 +102,6 @@ public class CommunityController {
@PreAuthorize("hasAnyAuthority(@AuthorizationService.PORTAL_ADMIN)")
@RequestMapping(value = "/delete", method = RequestMethod.POST)
public Boolean deleteCommunities(@RequestBody List portals) throws Exception {
- List roles = rolesUtils.getRoles();
-
for (String id: portals) {
Portal portal = portalService.getPortalById(id);
if(portal == null) {