Remove possibility to create Sones from sone provider interface.
[Sone.git] / src / main / java / net / pterodactylus / sone / web / MarkAsKnownPage.java
index fe50509..a923386 100644 (file)
@@ -71,13 +71,13 @@ public class MarkAsKnownPage extends SoneTemplatePage {
                                }
                                webInterface.getCore().markPostKnown(post);
                        } else if (type.equals("reply")) {
-                               PostReply reply = webInterface.getCore().getPostReply(id, false);
+                               PostReply reply = webInterface.getCore().getPostReply(id);
                                if (reply == null) {
                                        continue;
                                }
                                webInterface.getCore().markReplyKnown(reply);
                        } else if (type.equals("sone")) {
-                               Sone sone = webInterface.getCore().getSone(id, false);
+                               Sone sone = webInterface.getCore().getSone(id);
                                if (sone == null) {
                                        continue;
                                }