X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2FUnlikePage.java;h=e794582851ab507eed62f4c5544780382a6a0256;hb=3f63438bc247849e8f454478a262fc8d9176991d;hp=bedf759fe92055f1e127642665b93b8b8bd88eb7;hpb=9022be629f86cd0d85477c65dbd6a8085c48a4d7;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/web/UnlikePage.java b/src/main/java/net/pterodactylus/sone/web/UnlikePage.java index bedf759..e794582 100644 --- a/src/main/java/net/pterodactylus/sone/web/UnlikePage.java +++ b/src/main/java/net/pterodactylus/sone/web/UnlikePage.java @@ -38,7 +38,7 @@ public class UnlikePage extends SoneTemplatePage { * The Sone web interface */ public UnlikePage(Template template, WebInterface webInterface) { - super("unlike.html", template, "Page.UnlikePost.Title", webInterface); + super("unlike.html", template, "Page.Unlike.Title", webInterface, true); } // @@ -65,16 +65,4 @@ public class UnlikePage extends SoneTemplatePage { } } - // - // SONETEMPLATEPAGE METHODS - // - - /** - * {@inheritDoc} - */ - @Override - protected boolean requiresLogin() { - return true; - } - }