Remove PostReplyProvider methods from Core.
[Sone.git] / src / main / java / net / pterodactylus / sone / web / ajax / GetTimesAjaxPage.java
index b8fc52e..bd51679 100644 (file)
@@ -78,7 +78,7 @@ public class GetTimesAjaxPage extends JsonPage {
                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;
                                }