Commenting code already managed by gcat

This commit is contained in:
Luca Frosini 2020-06-10 17:11:18 +02:00
parent 013e54c070
commit 960509e33c
1 changed files with 6 additions and 6 deletions

View File

@ -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<String>(), 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<String>(), authorFullname).start();
// logger.info("Thread to write a post about the new product has been launched");
// }
} catch(InterruptedException e) {
logger.error("Error", e);
}