X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2FDeleteSonePage.java;h=ae01573b604d92974fb8e425b1c5c1f07b923f71;hb=0ac5c61faa54b62f29bf8c8e9903919315810c80;hp=04aea3c265ef0d291918eb94c18d748665ab7968;hpb=4c831fb948000bc1730ebcde73eeb62317f4ac54;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/web/DeleteSonePage.java b/src/main/java/net/pterodactylus/sone/web/DeleteSonePage.java index 04aea3c..ae01573 100644 --- a/src/main/java/net/pterodactylus/sone/web/DeleteSonePage.java +++ b/src/main/java/net/pterodactylus/sone/web/DeleteSonePage.java @@ -55,7 +55,7 @@ public class DeleteSonePage extends SoneTemplatePage { if (request.getMethod() == Method.POST) { if (request.getHttpRequest().isPartSet("deleteSone")) { Sone currentSone = getCurrentSone(request.getToadletContext()); - webInterface.core().deleteSone(currentSone); + webInterface.getCore().deleteSone(currentSone); } throw new RedirectException("index.html"); }