super(core, true);
}
- /**
- * {@inheritDoc}
- */
@Override
public Response execute(SimpleFieldSet parameters, Bucket data, AccessType accessType) throws FcpException {
PostReply reply = getReply(parameters, "Reply");
if (!reply.getSone().isLocal()) {
return new ErrorResponse(401, "Not allowed.");
}
+ getCore().deleteReply(reply);
return new Response("ReplyDeleted", new SimpleFieldSetBuilder().get());
}