if (allIds.length() > 0) {
String[] ids = allIds.split(",");
for (String id : ids) {
- Optional<Post> post = webInterface.getCore().getPost(id);
+ Optional<Post> post = webInterface.getCore().getDatabase().getPost(id);
if (!post.isPresent()) {
continue;
}
if (allIds.length() > 0) {
String[] ids = allIds.split(",");
for (String id : ids) {
- Optional<PostReply> reply = webInterface.getCore().getPostReply(id);
+ Optional<PostReply> reply = webInterface.getCore().getDatabase().getPostReply(id);
if (!reply.isPresent()) {
continue;
}