projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove bucket and access type from command interface
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
web
/
LockSonePage.java
diff --git
a/src/main/java/net/pterodactylus/sone/web/LockSonePage.java
b/src/main/java/net/pterodactylus/sone/web/LockSonePage.java
index
dc35b70
..
a0a9574
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/web/LockSonePage.java
+++ b/
src/main/java/net/pterodactylus/sone/web/LockSonePage.java
@@
-1,5
+1,5
@@
/*
/*
- * Sone - LockSonePage.java - Copyright © 2010–201
5
David Roden
+ * Sone - LockSonePage.java - Copyright © 2010–201
6
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
*
* 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
@@
-50,8
+50,7
@@
public class LockSonePage extends SoneTemplatePage {
* {@inheritDoc}
*/
@Override
* {@inheritDoc}
*/
@Override
- protected void processTemplate(FreenetRequest request, TemplateContext templateContext) throws RedirectException {
- super.processTemplate(request, templateContext);
+ protected void handleRequest(FreenetRequest request, TemplateContext templateContext) throws RedirectException {
String soneId = request.getHttpRequest().getPartAsStringFailsafe("sone", 44);
Sone sone = webInterface.getCore().getLocalSone(soneId);
if (sone != null) {
String soneId = request.getHttpRequest().getPartAsStringFailsafe("sone", 44);
Sone sone = webInterface.getCore().getLocalSone(soneId);
if (sone != null) {