/*
- * Sone - RescuePage.java - Copyright © 2011–2015 David Roden
+ * Sone - RescuePage.java - Copyright © 2011–2016 David Roden
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* {@inheritDoc}
*/
@Override
- protected void processTemplate(FreenetRequest request, TemplateContext templateContext) throws RedirectException {
- super.processTemplate(request, templateContext);
- Sone currentSone = getCurrentSone(request.getToadletContext(), false);
+ protected void handleRequest(FreenetRequest request, TemplateContext templateContext) throws RedirectException {
+ Sone currentSone = getCurrentSoneWithoutCreatingSession(request.getToadletContext());
SoneRescuer soneRescuer = webInterface.getCore().getSoneRescuer(currentSone);
if (request.getMethod() == Method.POST) {
if ("true".equals(request.getHttpRequest().getPartAsStringFailsafe("fetch", 4))) {