projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove obsolete loading animation
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
web
/
UnlockSonePage.java
diff --git
a/src/main/java/net/pterodactylus/sone/web/UnlockSonePage.java
b/src/main/java/net/pterodactylus/sone/web/UnlockSonePage.java
index
f527558
..
7c36a88
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/web/UnlockSonePage.java
+++ b/
src/main/java/net/pterodactylus/sone/web/UnlockSonePage.java
@@
-1,5
+1,5
@@
/*
/*
- * Sone - UnlockSonePage.java - Copyright © 2010 David Roden
+ * Sone - UnlockSonePage.java - Copyright © 2010
–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
*
* 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
@@
-49,10
+49,9
@@
public class UnlockSonePage 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);
String soneId = request.getHttpRequest().getPartAsStringFailsafe("sone", 44);
- Sone sone = webInterface.getCore().getLocalSone(soneId
, false
);
+ Sone sone = webInterface.getCore().getLocalSone(soneId);
if (sone != null) {
webInterface.getCore().unlockSone(sone);
}
if (sone != null) {
webInterface.getCore().unlockSone(sone);
}