diff --git a/src/main/java/org/gcube/data_catalogue/grsf_publish_ws/utils/CommonServiceUtils.java b/src/main/java/org/gcube/data_catalogue/grsf_publish_ws/utils/CommonServiceUtils.java index 4d75b3f..f58f154 100644 --- a/src/main/java/org/gcube/data_catalogue/grsf_publish_ws/utils/CommonServiceUtils.java +++ b/src/main/java/org/gcube/data_catalogue/grsf_publish_ws/utils/CommonServiceUtils.java @@ -658,12 +658,12 @@ public class CommonServiceUtils { new ManageTimeSeriesThread(record, futureName, username, catalogue, context, token).start(); // write a post if the product has been published in grsf context - if(catalogue.isSocialPostEnabled() && !isUpdated && context - .equals((String) contextServlet.getInitParameter(HelperMethods.PUBLIC_CONTEX_KEY))) { - new WritePostCatalogueManagerThread(context, token, futureTitle, itemUrlForThread, true, - new ArrayList(), authorFullname).start(); - logger.info("Thread to write a post about the new product has been launched"); - } +// if(catalogue.isSocialPostEnabled() && !isUpdated && context +// .equals((String) contextServlet.getInitParameter(HelperMethods.PUBLIC_CONTEX_KEY))) { +// new WritePostCatalogueManagerThread(context, token, futureTitle, itemUrlForThread, true, +// new ArrayList(), authorFullname).start(); +// logger.info("Thread to write a post about the new product has been launched"); +// } } catch(InterruptedException e) { logger.error("Error", e); }