- override fun handleRequest(freenetRequest: FreenetRequest, currentSone: Sone, templateContext: TemplateContext) {
- if (freenetRequest.isPOST) {
- if (freenetRequest.httpRequest.isPartSet("deleteSone")) {
- webInterface.core.deleteSone(currentSone)
+ override fun handleRequest(soneRequest: SoneRequest, currentSone: Sone, templateContext: TemplateContext) {
+ if (soneRequest.isPOST) {
+ if (soneRequest.httpRequest.isPartSet("deleteSone")) {
+ soneRequest.core.deleteSone(currentSone)