diff --git a/dspace-server-webapp/src/main/java/org/dspace/app/rest/LDNInboxController.java b/dspace-server-webapp/src/main/java/org/dspace/app/rest/LDNInboxController.java index db9f5945c8..e263fba042 100644 --- a/dspace-server-webapp/src/main/java/org/dspace/app/rest/LDNInboxController.java +++ b/dspace-server-webapp/src/main/java/org/dspace/app/rest/LDNInboxController.java @@ -55,9 +55,7 @@ public class LDNInboxController { public ResponseEntity inbox(@RequestBody Notification notification) throws Exception { Context context = ContextUtil.obtainCurrentRequestContext(); validate(notification); - log.info("stored notification {} {}", notification.getId(), notification.getType()); - context.commit(); LDNMessageEntity ldnMsgEntity = ldnMessageService.create(context, notification); log.info("stored ldn message {}", ldnMsgEntity);